测试开启定位,正式打包是否可用

This commit is contained in:
2022-02-25 10:05:08 +08:00
parent 9d9c0cdaf8
commit 9bba6e4ef4
2 changed files with 11 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
"name" : "ZH-HEALTH",
"appid" : "__UNI__C29473D",
"description" : "ZH-HEALTH您手上的健康管理专家",
"versionName" : "1.0.17",
"versionName" : "1.0.18",
"versionCode" : 100,
"transformPx" : false,
/* 5+App */
@@ -89,7 +89,7 @@
"amap" : {
"__platform__" : [ "android" ],
"appkey_ios" : "",
"appkey_android" : "05b7f32ca9c897c8b63c505d92cd654b"
"appkey_android" : "1dfbe526a37dcb1f13263e0b5871ca4d"
},
"system" : {
"__platform__" : [ "android" ]
@@ -98,7 +98,7 @@
"maps" : {
"amap" : {
"appkey_ios" : "",
"appkey_android" : "05b7f32ca9c897c8b63c505d92cd654b"
"appkey_android" : "1dfbe526a37dcb1f13263e0b5871ca4d"
}
}
},
@@ -133,6 +133,9 @@
"spotlight@3x" : "unpackage/res/icons/120x120.png"
}
}
},
"splashscreen" : {
"androidStyle" : "common"
}
},
"nativePlugins" : {

View File

@@ -103,16 +103,11 @@
this.callShow = true
break;
case 'location':
// uni.showToast({
// icon: 'none',
// title: '功能正在开发中'
// })
// uni.chooseLocation({
// success: res => {
// console.log(res);
// // this.success()
// }
// })
uni.chooseLocation({
success: (c) => {
console.log(c);
}
})
break;
case 'redpacket':
uni.showToast({