From ad4d02fcb6920a91ab00d6ba04be3c5c1eef103a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Tue, 23 Feb 2021 17:50:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=90=86=E5=95=86=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/user/agent.vue | 20 ++++++-------------- src/components/user/index.vue | 4 +++- src/components/user/search.vue | 4 +++- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/src/components/user/agent.vue b/src/components/user/agent.vue index 5a9c6f1..bb9b40b 100644 --- a/src/components/user/agent.vue +++ b/src/components/user/agent.vue @@ -56,6 +56,9 @@ + + + @@ -91,18 +94,6 @@ - - - - - - - - 取 消 - 确定 - - - { + this.$api.post(this.$api.phpURL + "agent/agent/updateAgent", this.userModel).then(res => { this.resetForm("inputUserForm"); this.get(); }); diff --git a/src/components/user/index.vue b/src/components/user/index.vue index 0f41a4a..2f5b06d 100644 --- a/src/components/user/index.vue +++ b/src/components/user/index.vue @@ -17,7 +17,7 @@ - + @@ -218,6 +218,8 @@ export default { return "用户注册"; case '3': return "淘宝注册"; + default: + return cellValue } return ""; } diff --git a/src/components/user/search.vue b/src/components/user/search.vue index 2df8d2f..c7f010f 100644 --- a/src/components/user/search.vue +++ b/src/components/user/search.vue @@ -15,7 +15,7 @@ - + @@ -204,6 +204,8 @@ export default { return "用户注册"; case '3': return "淘宝注册"; + default: + return cellValue } return ""; }