新用户登录跳转修改密码
This commit is contained in:
parent
e51a071398
commit
d19f7d0bb6
@ -144,9 +144,21 @@ export default {
|
||||
} = await userInfo();
|
||||
this.$store.commit('setUserInfo', data);
|
||||
uni.hideLoading()
|
||||
uni.switchTab({
|
||||
url: '/pages/oaHome/oaHome'
|
||||
if (data.is_new_user) {
|
||||
uni.showLoading({
|
||||
mask: true,
|
||||
title: '加载中'
|
||||
})
|
||||
uni.switchTab({
|
||||
url: '/pages/oaHome/oaHome',
|
||||
success: () => {
|
||||
uni.$emit('initOaTask'); // 更新任务
|
||||
uni.hideLoading()
|
||||
}
|
||||
})
|
||||
} else uni.navigateTo({
|
||||
url: '/pages/updatePasswprd/updatePasswprd'
|
||||
});
|
||||
},
|
||||
initTerminal () {
|
||||
// #ifndef APP-PLUS
|
||||
|
Loading…
x
Reference in New Issue
Block a user