Compare commits
No commits in common. "ece95d363672ecfdc1436657e7e638a933690640" and "2e0242328c53e3e17b90e64fa9065c078b819b7a" have entirely different histories.
ece95d3636
...
2e0242328c
@ -120,8 +120,18 @@ 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 (plus?.webview.getWebviewById("wv").tokenScan) {
|
||||
if (
|
||||
uni.getStorageSync("token") ||
|
||||
window?.plus?.storage.getItemAsync("token") ||
|
||||
window?.plus?.webview.getWebviewById("wv").tokenScan ||
|
||||
uni.getStorageSync("store-token")
|
||||
) {
|
||||
console.log('获取到token拉')
|
||||
paintingDetail();
|
||||
getBtngetRules();
|
||||
}
|
||||
@ -143,11 +153,11 @@ const paintingDetail = async () => {
|
||||
pid: state.pid,
|
||||
});
|
||||
if (res.status === 0) {
|
||||
console.log("成功拉1");
|
||||
console.log('成功拉1')
|
||||
state.boxRelBucketStatus = res.data.boxRelBucketStatus;
|
||||
console.log("boxRelBucketStatus", state.boxRelBucketStatus);
|
||||
if (res.data.pbStatus == 1) {
|
||||
console.log("成功拉2");
|
||||
console.log('成功拉2')
|
||||
uni.navigateTo({
|
||||
url: "/pages/index/index?id=" + state.id + "&pid=" + state.pid,
|
||||
success: () => {
|
||||
|
Loading…
Reference in New Issue
Block a user