diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index 8150dae..5a33d9a 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -121,10 +121,12 @@ onLoad((options) => { state.id = options.id; state.pid = options.pid; // 已经登录了 - if (plus?.webview.getWebviewById("wv").tokenScan) { - paintingDetail(); - getBtngetRules(); - } + setTimeout(() => { + if (plus?.webview.getWebviewById("wv").tokenScan) { + paintingDetail(); + getBtngetRules(); + } + }, 200); } /*