|
@@ -120,10 +120,8 @@ export default {
|
|
password: values.formCustom.passwd
|
|
password: values.formCustom.passwd
|
|
}).then(res => {
|
|
}).then(res => {
|
|
if (res.status === '200') {
|
|
if (res.status === '200') {
|
|
- _this.$message.success('修改成功, 请重新登录')
|
|
|
|
|
|
+ _this.$message.success(res.message)
|
|
_this.logout()
|
|
_this.logout()
|
|
- } else {
|
|
|
|
- _this.$message.error(res.message)
|
|
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|