更新依赖

This commit is contained in:
Hooray Hu 2024-03-21 14:47:38 +08:00
parent f48ebec022
commit 5b01a1f9dc
5 changed files with 982 additions and 738 deletions

View File

@ -22,12 +22,12 @@
"@bytemd/plugin-gfm": "^1.21.0",
"@bytemd/vue-next": "^1.21.0",
"@headlessui/vue": "^1.7.19",
"@imengyu/vue3-context-menu": "^1.3.8",
"@imengyu/vue3-context-menu": "^1.3.9",
"@tinymce/tinymce-vue": "^5.1.1",
"@vueuse/core": "^10.9.0",
"@vueuse/integrations": "^10.9.0",
"animate.css": "^4.1.1",
"axios": "^1.6.7",
"axios": "^1.6.8",
"bytemd": "^1.21.0",
"dayjs": "^1.11.10",
"defu": "^6.1.4",
@ -51,7 +51,7 @@
"scule": "^1.3.0",
"splitpanes": "^3.1.5",
"swiper": "^11.0.7",
"tinymce": "^6.8.3",
"tinymce": "^7.0.0",
"vconsole": "^3.15.1",
"vue": "^3.4.21",
"vue-currency-input": "^3.1.0",
@ -63,8 +63,8 @@
"xe-utils": "^3.5.22"
},
"devDependencies": {
"@antfu/eslint-config": "2.8.1",
"@iconify/json": "^2.2.191",
"@antfu/eslint-config": "2.8.3",
"@iconify/json": "^2.2.194",
"@iconify/vue": "^4.1.1",
"@stylistic/stylelint-config": "^1.0.1",
"@types/lodash-es": "^4.17.12",
@ -72,14 +72,14 @@
"@types/nprogress": "^0.2.3",
"@types/path-browserify": "^1.0.2",
"@types/qrcode": "^1.5.5",
"@types/qs": "^6.9.12",
"@types/qs": "^6.9.14",
"@types/splitpanes": "^2.2.6",
"@unocss/eslint-plugin": "^0.58.5",
"@unocss/eslint-plugin": "^0.58.6",
"@vitejs/plugin-legacy": "^5.3.2",
"@vitejs/plugin-vue": "^5.0.4",
"@vitejs/plugin-vue-jsx": "^3.1.0",
"archiver": "^7.0.1",
"autoprefixer": "^10.4.18",
"autoprefixer": "^10.4.19",
"boxen": "^7.1.1",
"eslint": "^8.57.0",
"esno": "^4.7.0",
@ -91,28 +91,28 @@
"picocolors": "^1.0.0",
"plop": "^4.0.1",
"sass": "^1.72.0",
"simple-git-hooks": "^2.10.0",
"simple-git-hooks": "^2.11.0",
"stylelint": "^16.2.1",
"stylelint-config-recess-order": "^5.0.0",
"stylelint-config-standard-scss": "^13.0.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-scss": "^6.2.1",
"svgo": "^3.2.0",
"terser": "^5.29.1",
"typescript": "^5.4.2",
"unocss": "^0.58.5",
"terser": "^5.29.2",
"typescript": "^5.4.3",
"unocss": "^0.58.6",
"unplugin-auto-import": "^0.17.5",
"unplugin-turbo-console": "^1.4.1",
"unplugin-turbo-console": "^1.5.0",
"unplugin-vue-components": "^0.26.0",
"vite": "^5.1.6",
"vite": "^5.2.2",
"vite-plugin-banner": "^0.7.1",
"vite-plugin-compression2": "^1.0.0",
"vite-plugin-fake-server": "^2.1.1",
"vite-plugin-pages": "^0.32.0",
"vite-plugin-svg-icons": "^2.0.1",
"vite-plugin-vue-devtools": "^7.0.17",
"vite-plugin-vue-devtools": "^7.0.20",
"vite-plugin-vue-meta-layouts": "^0.4.2",
"vue-tsc": "^2.0.6"
"vue-tsc": "^2.0.7"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",

File diff suppressed because it is too large Load Diff

View File

@ -75,7 +75,7 @@ function onTabbarContextmenu(event: MouseEvent, routeItem: Tabbar.recordRaw) {
ContextMenu.showContextMenu({
x: event.x,
y: event.y,
zIndex: 1000,
zIndex: 1050,
iconFontClass: '',
customClass: 'contextmenu-custom',
items: [
@ -221,8 +221,6 @@ onUnmounted(() => {
}
.icon {
width: 1em;
margin-right: 10px;
color: initial;
}

View File

@ -136,7 +136,8 @@ router.afterEach((to, from) => {
keepAliveStore.add(componentName)
}
else {
console.warn('该页面组件未设置组件名,会导致缓存失效,请检查')
// turbo-console-disable-next-line
console.warn('[Fantastic-admin] 该页面组件未设置组件名,会导致缓存失效,请检查')
}
}
// 判断离开页面是否开启缓存,如果开启,则根据缓存规则判断是否需要清空 keep-alive 全局状态里离开页面的 name 信息

View File

@ -176,6 +176,7 @@ const useRouteStore = defineStore(
route.children = converDeprecatedAttributeRecursive(route.children)
})
if (isUsedDeprecatedAttribute) {
// turbo-console-disable-next-line
console.warn('[Fantastic-admin] 路由配置中的 "sidebar" 属性即将被弃用, 请尽快替换为 "menu" 属性')
}
return routes