fix:修改wx权限
This commit is contained in:
parent
b81e35eb8a
commit
6841fa17d3
2
env/.env
vendored
2
env/.env
vendored
@ -2,7 +2,7 @@ VITE_APP_TITLE = 'unibest'
|
||||
VITE_APP_PORT = 9000
|
||||
|
||||
VITE_UNI_APPID = '__UNI__D1E5001'
|
||||
VITE_WX_APPID = 'wxa2abb91f64032a2b'
|
||||
VITE_WX_APPID = 'wx8e64a91083684628'
|
||||
|
||||
# h5部署网站的base,配置到 manifest.config.ts 里的 h5.router.base
|
||||
# https://uniapp.dcloud.net.cn/collocation/manifest.html#h5-router
|
||||
|
||||
@ -128,6 +128,12 @@ export default defineManifestConfig({
|
||||
optimization: {
|
||||
subPackages: true,
|
||||
},
|
||||
permission: {
|
||||
'scope.userLocation': {
|
||||
desc: '需要实时定位',
|
||||
},
|
||||
},
|
||||
requiredPrivateInfos: ['getLocation', 'chooseLocation'],
|
||||
// 是否合并组件虚拟节点外层属性,uni-app 3.5.1+ 开始支持。目前仅支持 style、class 属性。
|
||||
// 默认不开启(undefined),这里设置为开启。
|
||||
mergeVirtualHostAttributes: true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user