优化返回页面

This commit is contained in:
pengxiaolong
2025-05-22 22:05:55 +08:00
parent 6ca66f45d4
commit c55be10783
59 changed files with 3428 additions and 44 deletions

View File

@@ -24,15 +24,17 @@ function request(urldata) {
}
});
} else {
this.$global.lastPage = common_vendor.index.page.route;
common_vendor.index.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
common_vendor.index.reLaunch({ url: "/pages/UserInformation/UserInformation" });
}
} else {
this.$global.lastPage = common_vendor.index.page.route;
common_vendor.index.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
common_vendor.index.navigateTo({ url: "/pages/login/login" });
}
},
fail: function(res) {
common_vendor.index.setStorageSync("lastPage", getCurrentPages()[getCurrentPages().length - 1].route);
common_vendor.index.navigateTo({ url: "/pages/login/login" });
reject(res);
}
});
@@ -45,7 +47,7 @@ function request(urldata) {
method,
header,
success: function(res) {
common_vendor.index.__f__("log", "at components/request.js:48", "请求成功2", res);
common_vendor.index.__f__("log", "at components/request.js:50", "请求成功2", res);
resolve(res.data);
},
fail: function(res) {