From 34b5cb9940cb69d9588b092059bac4cc8baf9bfd Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期一, 19 九月 2022 11:01:44 +0800 Subject: [PATCH] 修复管理员权限的页面打开方式,添加title设置 --- 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