This commit is contained in:
Aiden 2024-10-25 15:16:21 +08:00
parent dcd90f4c7f
commit 018ad823ba
3 changed files with 3 additions and 0 deletions

View File

@ -114,6 +114,7 @@ onShow(() => {
onLoad((options) => { onLoad((options) => {
if (window.plus) { if (window.plus) {
const token = plus?.webview.getWebviewById("wv").tokenScan; const token = plus?.webview.getWebviewById("wv").tokenScan;
console.log("token", token);
if (token) { if (token) {
const header = document.querySelector(".uni-page-head-hd"); const header = document.querySelector(".uni-page-head-hd");
console.log("header", header); console.log("header", header);

View File

@ -164,6 +164,7 @@ const state = reactive({
onLoad((options) => { onLoad((options) => {
if (window.plus) { if (window.plus) {
const token = plus?.webview.getWebviewById("wv").tokenScan; const token = plus?.webview.getWebviewById("wv").tokenScan;
console.log("token", token);
if (token) { if (token) {
const header = document.querySelector(".uni-page-head-hd"); const header = document.querySelector(".uni-page-head-hd");
console.log("header", header); console.log("header", header);

View File

@ -71,6 +71,7 @@ const state = reactive({
onLoad((options) => { onLoad((options) => {
if (window.plus) { if (window.plus) {
const token = plus?.webview.getWebviewById("wv").tokenScan; const token = plus?.webview.getWebviewById("wv").tokenScan;
console.log("token", token);
if (token) { if (token) {
const header = document.querySelector(".uni-page-head-hd"); const header = document.querySelector(".uni-page-head-hd");
console.log("header", header); console.log("header", header);