From 215823d4a764d87b3e4c13767f748e61f06aebfc Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期六, 07 五月 2022 12:11:15 +0800
Subject: [PATCH] add sub user reset

---
 src/views/personalCenter/components/SubAccount.vue |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/views/personalCenter/components/SubAccount.vue b/src/views/personalCenter/components/SubAccount.vue
index e71b049..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">&#xe614;</span>
         <span>娣诲姞瀛愯处鍙�</span>
       </div>
@@ -354,6 +354,10 @@
         }
       });
     },
+    addSubCount(){
+      this.isShowAdd = true
+      this.resetUser()
+    },
     editUser(row) {
       this.isShowAdd = true;
       this.isEditing = true;

--
Gitblit v1.8.0