〝走走停停
2020-12-08 d6b6151aea494409e60196f9e1331e19c9013cad
ruoyi-ui/src/views/system/user/profile/userInfo.vue
@@ -24,6 +24,7 @@
<script>
import { updateUserProfile } from "@/api/system/user";
import Global from "@/layout/components/global.js";
export default {
  props: {
@@ -62,14 +63,13 @@
      this.$refs["form"].validate(valid => {
        if (valid) {
          updateUserProfile(this.user).then(response => {
            if (response.code === 200) {
              this.msgSuccess("修改成功");
            }
            this.msgSuccess("修改成功");
          });
        }
      });
    },
    close() {
      Global.$emit("removeCache", "closeSelectedTag", this.$route);
      this.$store.dispatch("tagsView/delView", this.$route);
      this.$router.push({ path: "/index" });
    }