From 75291a6831b27cc76a79985269ed73f79ad1e4b6 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期二, 27 九月 2022 17:07:54 +0800
Subject: [PATCH] 修改菜单权限
---
src/views/personalCenter/components/SubAccount.vue | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/views/personalCenter/components/SubAccount.vue b/src/views/personalCenter/components/SubAccount.vue
index f2acc07..f886f23 100644
--- a/src/views/personalCenter/components/SubAccount.vue
+++ b/src/views/personalCenter/components/SubAccount.vue
@@ -442,8 +442,12 @@
this.smsEnable = false
findTaskById({ id: row.id }).then((rsp) => {
if (rsp && rsp.success && rsp.data != "") {
- this.smsSceneConfig = rsp.data.taskName.split(",")
- this.smsLevelConfig = rsp.data.level.split(",")
+ if (rsp.data.taskName != "") {
+ this.smsSceneConfig = rsp.data.taskName.split(",")
+ }
+ if (rsp.data.level != "") {
+ this.smsLevelConfig = rsp.data.level.split(",")
+ }
this.smsEnable = rsp.data.enable
}
})
@@ -551,6 +555,7 @@
// 缂栬緫涓嶆彁浜ゅ瘑鐮�
if (this.isEditing) {
delete json.password
+ json.isChangePwd = false
}
if (typeof json.areaId === "string") {
--
Gitblit v1.8.0