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({