【代码优化】h5-router-mode: hash 改为 history 解决分享链接跳转失败

pull/79/head
puhui999 2024-08-14 11:08:55 +08:00
parent e53cb63ce4
commit 532503b65b
1 changed files with 216 additions and 231 deletions

View File

@ -68,10 +68,7 @@
"schemes" : "shopro"
},
"ios" : {
"urlschemewhitelist": [
"baidumap",
"iosamap"
],
"urlschemewhitelist" : [ "baidumap", "iosamap" ],
"dSYMs" : false,
"privacyDescription" : {
"NSPhotoLibraryUsageDescription" : "需要同意访问您的相册选取图片才能完善该条目",
@ -82,9 +79,7 @@
"urltypes" : "shopro",
"capabilities" : {
"entitlements" : {
"com.apple.developer.associated-domains": [
"applinks:shopro.sheepjs.com"
]
"com.apple.developer.associated-domains" : [ "applinks:shopro.sheepjs.com" ]
}
},
"idfa" : true
@ -103,18 +98,12 @@
},
"payment" : {
"weixin" : {
"__platform__": [
"ios",
"android"
],
"__platform__" : [ "ios", "android" ],
"appid" : "wxae7a0c156da9383b",
"UniversalLinks" : "https://shopro.sheepjs.com/uni-universallinks/__UNI__082C0BA/"
},
"alipay" : {
"__platform__": [
"ios",
"android"
]
"__platform__" : [ "ios", "android" ]
}
},
"share" : {
@ -124,9 +113,7 @@
}
}
},
"orientation": [
"portrait-primary"
],
"orientation" : [ "portrait-primary" ],
"splashscreen" : {
"androidStyle" : "common",
"iosStyle" : "common",
@ -197,9 +184,7 @@
"lazyCodeLoading" : "requiredComponents",
"usingComponents" : {},
"permission" : {},
"requiredPrivateInfos": [
"chooseAddress"
]
"requiredPrivateInfos" : [ "chooseAddress" ]
},
"mp-alipay" : {
"usingComponents" : true
@ -216,7 +201,7 @@
"h5" : {
"template" : "index.html",
"router" : {
"mode": "hash",
"mode" : "history",
"base" : "./"
},
"sdkConfigs" : {