|
@@ -221,7 +221,7 @@ export default {
|
|
|
this.$store.commit("DEL_ALL_DETAIL");
|
|
|
},
|
|
|
clearCacheTags() {
|
|
|
- this.$confirm("是否需要清除缓存?", {
|
|
|
+ this.$confirm("清除缓存需要重新登陆,是否继续?", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|
|
@@ -229,6 +229,8 @@ export default {
|
|
|
clearCache().then(() => {
|
|
|
this.contextmenuFlag = false;
|
|
|
this.$message.success("清除完毕");
|
|
|
+ localStorage.clear();
|
|
|
+ this.$router.go(0);
|
|
|
});
|
|
|
});
|
|
|
}
|