diff --git a/pages/list/agent.vue b/pages/list/agent.vue index dcef211..1c5bd0e 100644 --- a/pages/list/agent.vue +++ b/pages/list/agent.vue @@ -184,6 +184,7 @@ }) this.account = ''; this.search(); + this.showEdit = false; }) }else if(this.editType=='edit'){ API.request('/adminAgentTeam/editAgent', { @@ -195,11 +196,10 @@ }) this.account = ''; this.search(); + this.showEdit = false; }) } - this.showEdit = false; - }, add(){ this.title = "新增代理"; @@ -237,8 +237,10 @@ uni.showToast({ title: res.msg }) + this.limit = ''; this.account = ''; this.search(); + this.showScore = false; }) }, search(){ diff --git a/pages/list/team.vue b/pages/list/team.vue index b8055fc..3624b07 100644 --- a/pages/list/team.vue +++ b/pages/list/team.vue @@ -122,8 +122,10 @@ uni.showToast({ title: res.msg }) + this.limit = ''; this.account = ''; this.search(); + this.showScore = false; }) }, search(){ diff --git a/pages/list/user.vue b/pages/list/user.vue index df1e33c..3a172d4 100644 --- a/pages/list/user.vue +++ b/pages/list/user.vue @@ -185,6 +185,7 @@ }) this.account = ''; this.search(); + this.showEdit = false; }) }else if(this.editType=='edit'){ API.request('/adminUserTeam/editUser', { @@ -197,9 +198,9 @@ }) this.account = ''; this.search(); + this.showEdit = false; }) } - this.showEdit = false; }, add(){ @@ -238,8 +239,10 @@ uni.showToast({ title: res.msg }) + this.limit = ''; this.account = ''; this.search(); + this.showScore = false; }) }, search(){