1、代码格式话

2、接口异常修改提示语
dev
liujun 2024-12-24 18:49:00 +08:00
parent d26541cbfb
commit d32d5b310d
1 changed files with 6 additions and 7 deletions

View File

@ -99,12 +99,11 @@ export default {
CORPINFO_ID: obj[0].CORPINFO_ID,
RELEVANT_UNIT_NAME: obj[0].RELEVANT_UNIT_NAME
});
if (info.code === 200){
if (info.code === 200) {
uni.$u.toast('入职成功')
}else {
uni.$u.toast('入职失败,请联系管理员')
} else {
uni.$u.toast(info.msg ? info.msg : '系统异常请联系管理员')
}
} else if (type === '1') {
// type=1
uni.$u.route({
@ -118,8 +117,8 @@ export default {
}
});
},
fnIsShow(index){
if(index === 5) return !!this.userInfo.CORPINFO_ID
fnIsShow(index) {
if (index === 5) return !!this.userInfo.CORPINFO_ID
return true
},
fnNavigator(e) {