fix
This commit is contained in:
parent
151279cb51
commit
502d32d191
@ -120,17 +120,8 @@ onLoad((options) => {
|
|||||||
console.log("options", options);
|
console.log("options", options);
|
||||||
state.id = options.id;
|
state.id = options.id;
|
||||||
state.pid = options.pid;
|
state.pid = options.pid;
|
||||||
|
|
||||||
if (!uni.getStorageSync("token")) {
|
|
||||||
}
|
|
||||||
console.log("token", uni.getStorageSync("token"));
|
|
||||||
// 已经登录了
|
// 已经登录了
|
||||||
if (
|
if (plus?.webview.getWebviewById("wv").tokenScan) {
|
||||||
uni.getStorageSync("token") ||
|
|
||||||
window?.plus?.storage.getItemAsync("token") ||
|
|
||||||
window?.plus?.webview.getWebviewById("wv").tokenScan ||
|
|
||||||
uni.getStorageSync("store-token")
|
|
||||||
) {
|
|
||||||
paintingDetail();
|
paintingDetail();
|
||||||
getBtngetRules();
|
getBtngetRules();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user