This commit is contained in:
xiaozhiyong
2023-09-19 16:31:09 +08:00
parent aaa0058528
commit 27b6f29c00
5 changed files with 39 additions and 13 deletions

View File

@@ -94,11 +94,13 @@
serve.giveCard({
phone: this.user.userPhone
}).then(res => {
this.time = 60
this.params.verifyCodeToken = res.data.verifyCodeToken
this.timefn()
this.isFocus = true
this.$refs.smscodePopup.open()
if(res.code === 20000) {
this.time = 60
this.params.verifyCodeToken = res.data.verifyCodeToken
this.timefn()
this.isFocus = true
this.$refs.smscodePopup.open()
}
})
}
@@ -145,10 +147,12 @@
accountCardCode,
...this.params
}).then(res => {
this.$refs.indexPopup.close()
this.$refs.smscodePopup.close()
this.$refs.successPopupt.open()
this.$emit('reloadCard')
if(res.code === 20000) {
this.$refs.indexPopup.close()
this.$refs.smscodePopup.close()
this.$refs.successPopupt.open()
this.$emit('reloadCard')
}
})
},