From 502d32d1919342bc8e726c9d4d46b48232acaf37 Mon Sep 17 00:00:00 2001 From: xuminyui <576362016@qq.com> Date: Tue, 22 Oct 2024 16:21:34 +0800 Subject: [PATCH] fix --- src/pages/login/index.vue | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/pages/login/index.vue b/src/pages/login/index.vue index f2533b9..90caa98 100644 --- a/src/pages/login/index.vue +++ b/src/pages/login/index.vue @@ -120,17 +120,8 @@ onLoad((options) => { console.log("options", options); state.id = options.id; state.pid = options.pid; - - if (!uni.getStorageSync("token")) { - } - console.log("token", uni.getStorageSync("token")); // 已经登录了 - if ( - uni.getStorageSync("token") || - window?.plus?.storage.getItemAsync("token") || - window?.plus?.webview.getWebviewById("wv").tokenScan || - uni.getStorageSync("store-token") - ) { + if (plus?.webview.getWebviewById("wv").tokenScan) { paintingDetail(); getBtngetRules(); }