无人机管理后台前端(已迁走)
罗广辉
2025-06-06 b583ee014966380f55cd929bca5146a8ccdad536
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',