From b0101c380a564845adc5999718befc6e22119288 Mon Sep 17 00:00:00 2001 From: xuminyui <576362016@qq.com> Date: Tue, 22 Oct 2024 16:25:34 +0800 Subject: [PATCH] fix --- src/pages/login/index.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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); } /*