From cd6ff4e3c2d0c4c0b65f4c48ddbcdfac36b89df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=A6=8D=E6=B4=81?= <16391855+wang-yanjie1218@user.noreply.gitee.com> Date: Thu, 12 Feb 2026 16:15:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BD=E5=8C=BBPC=E7=AB=AF=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chenhai-ui/src/views/login.vue | 19 +++++- chenhai-ui/src/views/syd.vue | 2 +- .../src/views/system/questions/index.vue | 2 +- .../src/views/system/recommendation/index.vue | 42 +++++++------ chenhai-ui/src/views/vet/experts/index.vue | 62 ++++++++++--------- chenhai-ui/src/views/vet/info/index.vue | 22 +++++-- chenhai-ui/src/views/vet/knowledge/index.vue | 5 +- chenhai-ui/src/views/vet/merchant/index.vue | 1 + .../src/views/vet/qualification/index.vue | 8 +-- 9 files changed, 101 insertions(+), 62 deletions(-) diff --git a/chenhai-ui/src/views/login.vue b/chenhai-ui/src/views/login.vue index 1dc3346..2317532 100644 --- a/chenhai-ui/src/views/login.vue +++ b/chenhai-ui/src/views/login.vue @@ -325,6 +325,21 @@ export default { this.open = true }, + // 重置注册表单 + resetRegisterForm() { + this.registerForm = { + phone: "", + password: "", + confirmPassword: "", + clientType: "vet-pc" + }; + this.registerPwdVisible = false; + this.confirmPwdVisible = false; + if (this.$refs.registerForm) { + this.$refs.registerForm.resetFields(); + } + }, + handleRegister() { this.$refs.registerForm.validate(valid => { if (valid) { @@ -337,7 +352,9 @@ export default { this.open = false; this.registerloading = false; this.resetRegisterForm(); - }).catch(() => {}) + }).catch(() => { + this.registerloading = false; + }) }) } }) diff --git a/chenhai-ui/src/views/syd.vue b/chenhai-ui/src/views/syd.vue index 7dc56a7..640d9b8 100644 --- a/chenhai-ui/src/views/syd.vue +++ b/chenhai-ui/src/views/syd.vue @@ -269,7 +269,7 @@ - + - + - + - +