This commit is contained in:
Aiden 2024-10-24 15:50:21 +08:00
parent b7eacd1606
commit 826fa0bf48
2 changed files with 23 additions and 17 deletions

View File

@ -78,16 +78,17 @@ export default {
}
}
};
if (window.plus) {
if (plus?.webview.getWebviewById("wv").tokenScan) {
paintingDetail();
setTimeout(() => {
if (window.plus) {
if (plus?.webview.getWebviewById("wv").tokenScan) {
paintingDetail();
}
} else {
if (uni.getStorageSync("store-token")) {
paintingDetail();
}
}
} else {
if (uni.getStorageSync("store-token")) {
paintingDetail();
}
}
console.log("v1");
}, 200);
},
onShow: function () {},
onHide: function () {

View File

@ -9,7 +9,18 @@
}
},
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{
"path": "pages/login/index",
"style": {
"navigationBarTitleText": "登录",
"enablePullDownRefresh": false
},
"app-plus" : {
"splashscreen" : {
"alwaysShowBeforeRender" : false
}
}
},
{
"path": "pages/index/index",
"style": {
@ -17,13 +28,7 @@
"enablePullDownRefresh": false
}
},
{
"path": "pages/login/index",
"style": {
"navigationBarTitleText": "登录",
"enablePullDownRefresh": false
}
},
{
"path": "pages/painting/index",
"style": {