From 018ad823baf61d765bc7babf196bb35eb7f2762b Mon Sep 17 00:00:00 2001 From: xuminyui <576362016@qq.com> Date: Fri, 25 Oct 2024 15:16:21 +0800 Subject: [PATCH] fix --- src/pages/detail/index.vue | 1 + src/pages/index/index.vue | 1 + src/pages/painting/index.vue | 1 + 3 files changed, 3 insertions(+) diff --git a/src/pages/detail/index.vue b/src/pages/detail/index.vue index 83819d9..de7d625 100644 --- a/src/pages/detail/index.vue +++ b/src/pages/detail/index.vue @@ -114,6 +114,7 @@ onShow(() => { onLoad((options) => { if (window.plus) { const token = plus?.webview.getWebviewById("wv").tokenScan; + console.log("token", token); if (token) { const header = document.querySelector(".uni-page-head-hd"); console.log("header", header); diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index fd53023..f56ba5f 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -164,6 +164,7 @@ const state = reactive({ onLoad((options) => { if (window.plus) { const token = plus?.webview.getWebviewById("wv").tokenScan; + console.log("token", token); if (token) { const header = document.querySelector(".uni-page-head-hd"); console.log("header", header); diff --git a/src/pages/painting/index.vue b/src/pages/painting/index.vue index 166fab6..19256b9 100644 --- a/src/pages/painting/index.vue +++ b/src/pages/painting/index.vue @@ -71,6 +71,7 @@ const state = reactive({ onLoad((options) => { if (window.plus) { const token = plus?.webview.getWebviewById("wv").tokenScan; + console.log("token", token); if (token) { const header = document.querySelector(".uni-page-head-hd"); console.log("header", header);