From 15f05b602fd5aa3722fa993359cd0be46d0fdc6f Mon Sep 17 00:00:00 2001
From: mingliangyang <yml@shencevc.cn>
Date: Fri, 14 Jan 2022 16:26:03 +0800
Subject: [PATCH] fix ruoyi-vue3下点击编辑,取消修改报错问题
---
ruoyi-ui/src/views/system/user/profile/userInfo.vue | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/ruoyi-ui/src/views/system/user/profile/userInfo.vue b/ruoyi-ui/src/views/system/user/profile/userInfo.vue
index 978cddf..ac7c44a 100644
--- a/ruoyi-ui/src/views/system/user/profile/userInfo.vue
+++ b/ruoyi-ui/src/views/system/user/profile/userInfo.vue
@@ -68,8 +68,7 @@
});
},
close() {
- this.$store.dispatch("tagsView/delView", this.$route);
- this.$router.push({ path: "/index" });
+ this.$tab.closePage();
}
}
};
--
Gitblit v1.9.2