作者 wumengyu

app.json add permission

... ... @@ -119,18 +119,6 @@ App({
});
return promise;
},
formCollect(id){
let url = '/sign/formid'
let params = {
formid: id,
openid: wx.getStorageSync('openId')
}
this.post(url,params).then((res)=>{
console.log(res)
}).catch((errMsg)=>{
})
},
//获取当前时间
nowDate() {
let date = new Date();
... ...
... ... @@ -37,6 +37,11 @@
"navigationBarTitleText": "科学队长实验室",
"navigationBarTextStyle": "white"
},
"permission": {
"scope.userLocation": {
"desc": "你的位置信息将用于获取附近的实验室"
}
},
"tabBar": {
"color": "#6F6F6F",
"selectedColor": "#5AB7F9",
... ...