This commit is contained in:
Aiden 2024-10-25 14:47:33 +08:00
parent bc7d467084
commit ea22d49c60
3 changed files with 16 additions and 9 deletions

View File

@ -112,10 +112,13 @@ onShow(() => {
});
});
onLoad((options) => {
const token = window?.plus?.storage.getItem("token");
if (window.plus) {
const token = plus?.webview.getWebviewById("wv").tokenScan;
if (token) {
document.querySelector(".uni-page-head-hd").style.display = "none";
}
}
state.id = options.id;
state.pid = options.pid;
state.boxRelBucketStatus = options.boxRelBucketStatus;

View File

@ -162,10 +162,12 @@ const state = reactive({
searchValue: "",
});
onLoad((options) => {
const token = window?.plus?.storage.getItem("token");
if (window.plus) {
const token = plus?.webview.getWebviewById("wv").tokenScan;
if (token) {
document.querySelector(".uni-page-head-hd").style.display = "none";
}
}
state.id = options.id;
state.pid = options.pid;
paintingList();

View File

@ -69,10 +69,12 @@ const state = reactive({
containerUid: "",
});
onLoad((options) => {
const token = window?.plus?.storage.getItem("token");
if (window.plus) {
const token = plus?.webview.getWebviewById("wv").tokenScan;
if (token) {
document.querySelector(".uni-page-head-hd").style.display = "none";
}
}
state.id = options.id;
state.pid = options.pid;
bindShelfHole();