Commit 53f94f4b authored by zhanglw's avatar zhanglw

调整

parent e3582dd7
...@@ -279,7 +279,7 @@ export default { ...@@ -279,7 +279,7 @@ export default {
HttpReq.webClientApi.smsRegistration(user).then((res) => { HttpReq.webClientApi.smsRegistration(user).then((res) => {
this.$notify({ this.$notify({
title: res.msg, title: res.msg,
type: 'success', type: res.code === 200 ? 'success' : 'error',
duration: 2500 duration: 2500
}) })
if (res.code === 200) { if (res.code === 200) {
...@@ -299,6 +299,9 @@ export default { ...@@ -299,6 +299,9 @@ export default {
this.loading = false this.loading = false
this.getCode() this.getCode()
}) })
} else {
this.loading = false
return false
} }
}) })
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment