From 8109c1f3aa965192d0e507f37ee35d75c8085221 Mon Sep 17 00:00:00 2001 From: luyisha Date: Wed, 13 Sep 2023 09:16:21 +0800 Subject: [PATCH] 2 --- pages/list/agent.vue | 6 ++++-- pages/list/team.vue | 2 ++ pages/list/user.vue | 5 ++++- 3 files changed, 10 insertions(+), 3 deletions(-) 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(){