Commit ef7ef9da50e0ad6d25980b7a72c3178efc769cd7

Authored by wangfan
1 parent 41b8927b

C端优化

Showing 1 changed file with 5 additions and 0 deletions
... ... @@ -46,13 +46,16 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
hasOnLoad:false,
onLoad: async function (options) {
this.hasOnLoad=true;
// this.qqmapsdk=new QQMapWX({
// key: 'SDEBZ-I74W4-QLGUX-XXYXU-HIR23-3QFBJ'
// });
this.setData({
multiArray:[['不确定'].concat(renNum()), ['全部菜系'].concat(await DA.getCates())]
})
},
/**
... ... @@ -86,6 +89,8 @@ Page({
this.getClassNameFlag=true;
//this.getPos();
if(this.data.hasSuggestion) return;
if(!this.hasOnLoad) return;
this.hasOnLoad=false;
//导航栏自适应
let systemInfo = wx.getSystemInfoSync();
let reg = /ios/i;
... ...