From 428419ea60a84117e4e4827c0aeb80446ccf8d99 Mon Sep 17 00:00:00 2001 From: ZZJ <zzjdsg2300@163.com> Date: 星期六, 07 五月 2022 15:01:34 +0800 Subject: [PATCH] 设备列表控制按钮 --- src/views/personalCenter/components/SubAccount.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/views/personalCenter/components/SubAccount.vue b/src/views/personalCenter/components/SubAccount.vue index 723d23c..bba3c6c 100644 --- a/src/views/personalCenter/components/SubAccount.vue +++ b/src/views/personalCenter/components/SubAccount.vue @@ -29,7 +29,7 @@ </div> <div class="btns"> - <div class="button add" @click="isShowAdd = true"> + <div class="button add" @click="addSubCount"> <span class="iconfont"></span> <span>娣诲姞瀛愯处鍙�</span> </div> @@ -354,6 +354,10 @@ } }); }, + addSubCount(){ + this.isShowAdd = true + this.resetUser() + }, editUser(row) { this.isShowAdd = true; this.isEditing = true; @@ -417,6 +421,7 @@ saveSubUser(json) .then((res) => { if (res.success) { + this.$notify.success(res.data) this.isShowAdd = false; this.isEditing = false; this.findUserList(); -- Gitblit v1.8.0