😎1、修复页面标签刷新按钮不起作用问题 2、升级依赖
This commit is contained in:
parent
22e82cad8c
commit
b71aa7ecdd
@ -2,7 +2,7 @@
|
|||||||
"name": "admin.net.pro",
|
"name": "admin.net.pro",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "2.4.33",
|
"version": "2.4.33",
|
||||||
"lastBuildTime": "2024.11.18",
|
"lastBuildTime": "2024.11.19",
|
||||||
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
|
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
|
||||||
"author": "zuohuaijun",
|
"author": "zuohuaijun",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -42,7 +42,7 @@
|
|||||||
"jsplumb": "^2.15.6",
|
"jsplumb": "^2.15.6",
|
||||||
"jwchat": "^2.0.3",
|
"jwchat": "^2.0.3",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"md-editor-v3": "^5.0.1",
|
"md-editor-v3": "^5.0.2",
|
||||||
"mitt": "^3.0.1",
|
"mitt": "^3.0.1",
|
||||||
"monaco-editor": "^0.52.0",
|
"monaco-editor": "^0.52.0",
|
||||||
"mqtt": "^5.10.2",
|
"mqtt": "^5.10.2",
|
||||||
@ -85,8 +85,8 @@
|
|||||||
"@types/node": "^20.16.5",
|
"@types/node": "^20.16.5",
|
||||||
"@types/nprogress": "^0.2.3",
|
"@types/nprogress": "^0.2.3",
|
||||||
"@types/sortablejs": "^1.15.8",
|
"@types/sortablejs": "^1.15.8",
|
||||||
"@typescript-eslint/eslint-plugin": "^8.14.0",
|
"@typescript-eslint/eslint-plugin": "^8.15.0",
|
||||||
"@typescript-eslint/parser": "^8.14.0",
|
"@typescript-eslint/parser": "^8.15.0",
|
||||||
"@vitejs/plugin-vue": "^5.2.0",
|
"@vitejs/plugin-vue": "^5.2.0",
|
||||||
"@vitejs/plugin-vue-jsx": "^4.1.0",
|
"@vitejs/plugin-vue-jsx": "^4.1.0",
|
||||||
"@vue/compiler-sfc": "^3.5.13",
|
"@vue/compiler-sfc": "^3.5.13",
|
||||||
|
|||||||
@ -334,7 +334,7 @@ const onCurrentContextmenuClick = async (item: RouteItem) => {
|
|||||||
// 刷新当前
|
// 刷新当前
|
||||||
if (meta.isDynamic) await router.push({ name, params });
|
if (meta.isDynamic) await router.push({ name, params });
|
||||||
else await router.push({ path, query });
|
else await router.push({ path, query });
|
||||||
refreshCurrentTagsView(route.fullPath);
|
await refreshCurrentTagsView(route.fullPath);
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
// 关闭当前
|
// 关闭当前
|
||||||
@ -352,7 +352,7 @@ const onCurrentContextmenuClick = async (item: RouteItem) => {
|
|||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
// 开启当前页面全屏
|
// 开启当前页面全屏
|
||||||
openCurrenFullscreen(getThemeConfig.value.isShareTagsView ? path : url);
|
await openCurrenFullscreen(getThemeConfig.value.isShareTagsView ? path : url);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -22,9 +22,7 @@ export const useKeepALiveNames = defineStore('keepALiveNames', {
|
|||||||
},
|
},
|
||||||
async delCachedView(view: any) {
|
async delCachedView(view: any) {
|
||||||
const index = this.cachedViews.indexOf(view.name);
|
const index = this.cachedViews.indexOf(view.name);
|
||||||
setTimeout(() => {
|
if (index > -1) this.cachedViews.splice(index, 1);
|
||||||
index > -1 && this.cachedViews.splice(index, 1);
|
|
||||||
}, 20);
|
|
||||||
},
|
},
|
||||||
async delOthersCachedViews(view: any) {
|
async delOthersCachedViews(view: any) {
|
||||||
if (view.meta.isKeepAlive) this.cachedViews = [view.name];
|
if (view.meta.isKeepAlive) this.cachedViews = [view.name];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user