fix
This commit is contained in:
parent
ea22d49c60
commit
dcd90f4c7f
@ -115,7 +115,11 @@ onLoad((options) => {
|
|||||||
if (window.plus) {
|
if (window.plus) {
|
||||||
const token = plus?.webview.getWebviewById("wv").tokenScan;
|
const token = plus?.webview.getWebviewById("wv").tokenScan;
|
||||||
if (token) {
|
if (token) {
|
||||||
document.querySelector(".uni-page-head-hd").style.display = "none";
|
const header = document.querySelector(".uni-page-head-hd");
|
||||||
|
console.log("header", header);
|
||||||
|
if (header) {
|
||||||
|
header.style.display = "none";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -165,7 +165,11 @@ onLoad((options) => {
|
|||||||
if (window.plus) {
|
if (window.plus) {
|
||||||
const token = plus?.webview.getWebviewById("wv").tokenScan;
|
const token = plus?.webview.getWebviewById("wv").tokenScan;
|
||||||
if (token) {
|
if (token) {
|
||||||
document.querySelector(".uni-page-head-hd").style.display = "none";
|
const header = document.querySelector(".uni-page-head-hd");
|
||||||
|
console.log("header", header);
|
||||||
|
if (header) {
|
||||||
|
header.style.display = "none";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
state.id = options.id;
|
state.id = options.id;
|
||||||
|
@ -72,7 +72,11 @@ onLoad((options) => {
|
|||||||
if (window.plus) {
|
if (window.plus) {
|
||||||
const token = plus?.webview.getWebviewById("wv").tokenScan;
|
const token = plus?.webview.getWebviewById("wv").tokenScan;
|
||||||
if (token) {
|
if (token) {
|
||||||
document.querySelector(".uni-page-head-hd").style.display = "none";
|
const header = document.querySelector(".uni-page-head-hd");
|
||||||
|
console.log("header", header);
|
||||||
|
if (header) {
|
||||||
|
header.style.display = "none";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
state.id = options.id;
|
state.id = options.id;
|
||||||
|
Loading…
Reference in New Issue
Block a user