From 0c192226b8a7b8a5c5b6334e24b2ee9b3b8fb429 Mon Sep 17 00:00:00 2001 From: luyisha Date: Wed, 1 Nov 2023 18:43:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=98=E8=AE=B0=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/GetCode.vue | 1 + src/views/forgotPwd/index.vue | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/GetCode.vue b/src/components/GetCode.vue index 44a8087..b339eef 100644 --- a/src/components/GetCode.vue +++ b/src/components/GetCode.vue @@ -121,6 +121,7 @@ export default { type: "error" }); this.state = ''; + this.$emit('reGetGCCode') }); }, diff --git a/src/views/forgotPwd/index.vue b/src/views/forgotPwd/index.vue index d944b6f..ed21608 100644 --- a/src/views/forgotPwd/index.vue +++ b/src/views/forgotPwd/index.vue @@ -41,7 +41,7 @@
- +
@@ -121,7 +121,7 @@ export default { // get gc code from api gett_gc_code(){ Member.sendGCode().then( (res) =>{ - this.gc_key = res.key + this.user.gc_key = res.key; this.Graph_che = res.img // console.log("gc",res); this.$message({