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