This commit is contained in:
曹辉 2023-04-11 10:47:03 +08:00
parent ba0d799367
commit fafaada4b3
2 changed files with 7 additions and 10 deletions

View File

@ -267,7 +267,6 @@
} }
updateNursePersonCheck(obj).then(res => { updateNursePersonCheck(obj).then(res => {
if (res.code == 200) { if (res.code == 200) {
that.myInfo();
that.$refs.uToast.show({ that.$refs.uToast.show({
title: '修改成功', title: '修改成功',
type: 'success', type: 'success',

View File

@ -171,16 +171,14 @@
}, },
// //
goMyBenefits() { goMyBenefits() {
if (this.personRoleLoginFlag == 'nursePersonRole') { const personRoleLoginFlag = uni.getStorageSync('personRoleLoginFlag');
const value = uni.getStorageSync('nursePersonId'); if (personRoleLoginFlag) {
if (value) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/MyBenefits/MyBenefits' url: '/pages/MyBenefits/MyBenefits'
}) })
} else { } else {
this.gologin(); this.gologin();
} }
}
}, },
//退 //退
goremove() { goremove() {