diff --git a/src/App.vue b/src/App.vue index 8df83b7..0c6d57f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -78,17 +78,16 @@ export default { } } }; - setTimeout(() => { - if (window.plus) { - if (plus?.webview.getWebviewById("wv").tokenScan) { - paintingDetail(); - } - } else { - if (uni.getStorageSync("store-token")) { - paintingDetail(); - } + if (window.plus) { + if (plus?.webview.getWebviewById("wv").tokenScan) { + paintingDetail(); } - }, 200); + } else { + if (uni.getStorageSync("store-token")) { + paintingDetail(); + } + } + console.log("v1"); }, onShow: function () {}, onHide: function () {