登录
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../common/vendor.js");
|
||||
function request(urldata) {
|
||||
const { url, data, method, header, userInfo } = urldata;
|
||||
const baseUrl = "http://192.168.0.218:8086" + url;
|
||||
const baseUrl = "http://192.168.0.218:8086/" + url;
|
||||
common_vendor.index.__f__("log", "at components/request.js:6", "``````````````````````````````````", userInfo);
|
||||
if (userInfo) {
|
||||
common_vendor.index.getStorage({
|
||||
@@ -25,9 +25,11 @@ function request(urldata) {
|
||||
});
|
||||
});
|
||||
} else {
|
||||
this.$global.lastPage = common_vendor.index.page.route;
|
||||
common_vendor.index.reLaunch({ url: "/pages/UserInformation/UserInformation" });
|
||||
}
|
||||
} else {
|
||||
this.$global.lastPage = common_vendor.index.page.route;
|
||||
common_vendor.index.navigateTo({ url: "/pages/login/login" });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user