优化登录重启

This commit is contained in:
wuxw 2020-02-27 00:43:32 +08:00
parent b3a0e3905f
commit 4ebfc2cc5a
4 changed files with 8 additions and 3 deletions

View File

@ -177,6 +177,8 @@ const getCommunity = function (callBack,reload,_condition) {
_condition = {};
}
console.log('_condition',_condition);
_condition.userId = _userInfo.userId;
_condition.storeId = _userInfo.storeId;

View File

@ -53,7 +53,7 @@ class LoginFactory {
console.log("用户信息",userInfo);
if(userInfo == null || userInfo == undefined || userInfo == ''){
uni.redirectTo({
uni.navigateTo({
url:"/pages/login/login"
})

View File

@ -71,7 +71,7 @@
userId: this.java110Context.getUserInfo().userId,
oldPwd: this.oldPwd,
newPwd: this.newPwd
}
};
uni.request({
url: this.java110Constant.url.changeStaffPwd,

View File

@ -101,9 +101,12 @@
expireTime: afterOneHourDate.getTime(),
createTime: new Date().getTime()
});
uni.switchTab({
uni.reLaunch({
url: "/pages/index/index"
});
},
fail: function(error) {
//