新用户登录跳转修改密码
This commit is contained in:
parent
e51a071398
commit
d19f7d0bb6
@ -144,9 +144,21 @@ export default {
|
|||||||
} = await userInfo();
|
} = await userInfo();
|
||||||
this.$store.commit('setUserInfo', data);
|
this.$store.commit('setUserInfo', data);
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
uni.switchTab({
|
if (data.is_new_user) {
|
||||||
url: '/pages/oaHome/oaHome'
|
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 () {
|
initTerminal () {
|
||||||
// #ifndef APP-PLUS
|
// #ifndef APP-PLUS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user