Browse Source

add 授权后跳转首页

voice
刘嘉炜 4 years ago
parent
commit
9305d26038
  1. 9
      src/pages/employee/perfect_info/perfect_info.vue

9
src/pages/employee/perfect_info/perfect_info.vue

@ -109,6 +109,15 @@ export default {
// setTimeout(_=>{ // setTimeout(_=>{
// this.isLogin = app.isLogin(); // this.isLogin = app.isLogin();
// }, 1200); // }, 1200);
}else if(res.data.code == 10001){ //
util.showModal({
title: '提示',
content: res.data.message || '你已绑定员工账号,无需重复绑定',
confirmText: '知道了',
success: btnRes =>{
if(btnRes.confirm)util.routeTo(`/pages/index/index`, 'rL');
}
})
}else{ }else{
util.showNone(res.data.message || '操作失败!'); util.showNone(res.data.message || '操作失败!');
} }

Loading…
Cancel
Save