关闭页签清理缓存数据

This commit is contained in:
RuoYi
2020-12-08 19:35:29 +08:00
parent bcdf270bb0
commit 1066713524
3 changed files with 7 additions and 1 deletions

View File

@@ -18,6 +18,7 @@
<script>
import { updateUserPwd } from "@/api/system/user";
import Global from "@/layout/components/global.js";
export default {
data() {
@@ -64,6 +65,7 @@ export default {
});
},
close() {
Global.$emit("removeCache", "closeSelectedTag", this.$route);
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.push({ path: "/index" });
}