From 8c2b6a50e1a357a97d8aafd9937e87088f8d91de Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期五, 02 九月 2022 15:50:09 +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