Browse Source

修复

master
qushutong 6 years ago
parent
commit
0a6f0f4139
  1. 4
      src/views/modules/user/user-add-or-update.vue

4
src/views/modules/user/user-add-or-update.vue

@ -186,7 +186,7 @@ export default {
return this.$message.error(res.msg)
}
//
this.registerResult(this.dataForm.id, this.dataForm.pass)
this.registerResult(this.dataForm.id)
this.$message({
message: this.$t('prompt.success'),
type: 'success',
@ -199,7 +199,7 @@ export default {
}).catch(() => { })
})
}, 1000, { 'leading': true, 'trailing': false }),
registerResult (userId, state) {
registerResult (userId) {
this.$http.get(`api/message/sms/registerResult?userId=` + userId + '&state=' + state).then(({ data: res }) => {
if (res.code !== 0) {
return this.$message.error(res.msg)

Loading…
Cancel
Save