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);