| src/views/system/userinfo.vue | ●●●●● patch | view | raw | blame | history |
src/views/system/userinfo.vue
@@ -17,6 +17,7 @@ import md5 from 'js-md5'; import func from '@/utils/func'; import { validatenull } from '@/utils/validate'; import router from '@/router'; export default { data() { @@ -59,8 +60,11 @@ if (res.data.success) { this.$message({ type: 'success', message: '修改密码成功!', message: '修改密码成功,请重新登录!', }); this.$store.dispatch('LogOut').then(() => { this.$router.push({ path: '/login' }) }) } else { this.$message({ type: 'error',