Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-16 17:09:20 +08:00

Compare commits

...

4 Commits

5 changed files with 1022 additions and 816 deletions

View File

@ -27,6 +27,9 @@ V3 Admin Vite is a well-crafted backend management system template, built with p
> [!TIP]
> Paid services are officially launched! If you dont want to do it yourself but want to remove TS or other modules, try the lazy package! [Click to check it out](https://github.com/un-pany/v3-admin-vite/issues/225)
> [!TIP]
> If you have mobile web app needs, try the new open-source template. [MobVue](https://github.com/un-pany/mobvue)
## Usage
<details>

View File

@ -27,6 +27,9 @@ V3 Admin Vite 是一个精心制作的后台管理系统模板,基于 Vue3、V
> [!TIP]
> 正式推出付费服务,如果不想自己动手,但想移除 TS 或其他模块?试试懒人套餐![点击看看](https://github.com/un-pany/v3-admin-vite/issues/225)
> [!TIP]
> 如果你有移动端 H5 需求,试试新的开源模板。[MobVue](https://github.com/un-pany/mobvue)
## 使用
<details>

View File

@ -16,9 +16,9 @@
},
"dependencies": {
"@element-plus/icons-vue": "2.3.1",
"axios": "1.8.1",
"axios": "1.8.4",
"dayjs": "1.11.13",
"element-plus": "2.9.5",
"element-plus": "2.9.7",
"js-cookie": "3.0.5",
"lodash-es": "4.17.21",
"mitt": "3.0.1",
@ -33,29 +33,29 @@
"vxe-table": "4.6.25"
},
"devDependencies": {
"@antfu/eslint-config": "4.5.1",
"@antfu/eslint-config": "4.10.2",
"@types/js-cookie": "3.0.6",
"@types/lodash-es": "4.17.12",
"@types/node": "22.13.9",
"@types/node": "22.13.11",
"@types/nprogress": "0.2.3",
"@types/path-browserify": "1.0.3",
"@vitejs/plugin-vue": "5.2.1",
"@vitejs/plugin-vue-jsx": "4.1.1",
"@vitejs/plugin-vue": "5.2.3",
"@vitejs/plugin-vue-jsx": "4.1.2",
"@vue/test-utils": "2.4.6",
"eslint": "9.21.0",
"eslint": "9.22.0",
"eslint-plugin-format": "1.0.1",
"happy-dom": "17.2.2",
"happy-dom": "17.4.4",
"husky": "9.1.7",
"lint-staged": "15.4.3",
"lint-staged": "15.5.0",
"sass": "1.78.0",
"typescript": "5.8.2",
"unocss": "66.1.0-beta.3",
"unocss": "66.1.0-beta.6",
"unplugin-auto-import": "19.1.1",
"unplugin-svg-component": "0.12.1",
"unplugin-vue-components": "28.4.1",
"vite": "6.2.0",
"vite": "6.2.2",
"vite-svg-loader": "5.1.0",
"vitest": "3.0.7",
"vitest": "3.0.9",
"vue-tsc": "2.2.8"
},
"lint-staged": {

1806
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -49,7 +49,7 @@ function resolvePath(routePath: string) {
</script>
<template>
<template v-if="!alwaysShowRootMenu && theOnlyOneChild && !theOnlyOneChild.children">
<template v-if="!alwaysShowRootMenu && theOnlyOneChild && !showingChildNumber">
<Link v-if="theOnlyOneChild.meta" :to="resolvePath(theOnlyOneChild.path)">
<el-menu-item :index="resolvePath(theOnlyOneChild.path)">
<SvgIcon v-if="theOnlyOneChild.meta.svgIcon" :name="theOnlyOneChild.meta.svgIcon" class="svg-icon" />