+
路由名称
如果需要开启缓存,需保证页面 defineOptions 中的 name
与此处一致,建议使用驼峰。
-
+
+
+
+
@@ -239,7 +242,7 @@
prop="routePath"
>
-
+
路由路径
@@ -247,7 +250,9 @@
开头,菜单项不用。例如:系统管理目录
/system,系统管理下的用户管理菜单 user。
-
+
+
+
@@ -264,14 +269,16 @@
prop="component"
>
-
+
组件路径
组件页面完整路径,相对于 src/views/,如
system/user/index,缺省后缀 .vue
-
+
+
+
@@ -292,13 +299,15 @@
-
+
路由参数
组件页面使用 `useRoute().query.参数名` 获取路由参数值。
-
+
+
+
@@ -370,7 +379,7 @@
"
>
-
+
始终显示
@@ -380,7 +389,9 @@
如果是叶子节点,请选择“否”。
-
+
+
+
@@ -393,7 +404,7 @@
开启
diff --git a/src/views/system/notice/components/NoticeDetail.vue b/src/views/system/notice/components/NoticeDetail.vue
index 5ed9f2a5..f4f1acdf 100644
--- a/src/views/system/notice/components/NoticeDetail.vue
+++ b/src/views/system/notice/components/NoticeDetail.vue
@@ -18,7 +18,9 @@
-
+
+
+
diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue
index 1b9e3fc4..f25054fa 100644
--- a/src/views/system/notice/index.vue
+++ b/src/views/system/notice/index.vue
@@ -29,11 +29,11 @@
-
+
搜索
-
+
重置
@@ -47,7 +47,7 @@
type="success"
@click="handleOpenDialog()"
>
-
+
新增通知
-
+
删除
diff --git a/src/views/system/notice/my-notice.vue b/src/views/system/notice/my-notice.vue
index caf17bc8..885cc4fb 100644
--- a/src/views/system/notice/my-notice.vue
+++ b/src/views/system/notice/my-notice.vue
@@ -12,11 +12,15 @@
-
+
+
+
搜索
-
+
+
+
重置
diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 2957cb89..ab0962f3 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -13,11 +13,11 @@
-
+
搜索
-
+
重置
@@ -27,7 +27,9 @@
-
+
+
+
新增
-
+
+
+
删除
@@ -69,7 +73,7 @@
link
@click="handleOpenAssignPermDialog(scope.row)"
>
-
+
分配权限
-
+
编辑
-
+
删除
@@ -172,13 +176,15 @@
placeholder="菜单权限名称"
>
-
+
-
+
+
+
{{ isExpanded ? "收缩" : "展开" }}
如果只需勾选菜单权限,不需要勾选子菜单或者按钮权限,请关闭父子联动
-
+ >
+
+
diff --git a/src/views/system/user/dept-tree.vue b/src/views/system/user/dept-tree.vue
index 2f386063..00cda400 100644
--- a/src/views/system/user/dept-tree.vue
+++ b/src/views/system/user/dept-tree.vue
@@ -3,7 +3,7 @@
-
+
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index b90596f5..b3f0f98c 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -48,11 +48,11 @@
-
+
搜索
-
+
重置
@@ -68,7 +68,7 @@
type="success"
@click="handleOpenDialog()"
>
-
+
新增
-
+
删除
-
+
导入
-
+
导出
@@ -163,7 +163,7 @@
link
@click="hancleResetPassword(scope.row)"
>
-
+
重置密码
-
+
编辑
-
+
删除
diff --git a/vite.config.ts b/vite.config.ts
index 74aed0ea..3cf1fe97 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -5,8 +5,6 @@ import { UserConfig, ConfigEnv, loadEnv, defineConfig } from "vite";
import AutoImport from "unplugin-auto-import/vite";
import Components from "unplugin-vue-components/vite";
import { ElementPlusResolver } from "unplugin-vue-components/resolvers";
-import Icons from "unplugin-icons/vite";
-import IconsResolver from "unplugin-icons/resolver";
import { createSvgIconsPlugin } from "vite-plugin-svg-icons";
import mockDevServerPlugin from "vite-plugin-mock-dev-server";
@@ -88,8 +86,6 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
ElementPlusResolver({
importStyle: "sass",
}),
- // 自动导入图标组件
- IconsResolver({}),
],
eslintrc: {
// 是否自动生成 eslint 规则,建议生成之后设置 false
@@ -110,11 +106,6 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
ElementPlusResolver({
importStyle: "sass",
}),
- // 自动注册图标组件
- IconsResolver({
- // element-plus图标库,其他图标库 https://icon-sets.iconify.design/
- enabledCollections: ["ep"],
- }),
],
// 指定自定义组件位置(默认:src/components)
dirs: ["src/components", "src/**/components"],
@@ -122,10 +113,6 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
dts: false,
// dts: "src/types/components.d.ts",
}),
- Icons({
- // 自动安装图标库
- autoInstall: true,
- }),
createSvgIconsPlugin({
// 指定需要缓存的图标文件夹
iconDirs: [resolve(pathSrc, "assets/icons")],
From 0783709ac745f42706b0aa7d8ed21910bc2c7278 Mon Sep 17 00:00:00 2001
From: ray <1490493387@qq.com>
Date: Tue, 8 Oct 2024 15:36:11 +0800
Subject: [PATCH 2/5] =?UTF-8?q?fix:=20:bug:=20=E9=94=81=E5=AE=9Asass?=
=?UTF-8?q?=E7=89=88=E6=9C=AC=EF=BC=8C=E7=9B=AE=E5=89=8D1.79.x=E6=9C=89?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 5 ++---
tsconfig.json | 2 +-
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/package.json b/package.json
index 42b50e8c..26609808 100644
--- a/package.json
+++ b/package.json
@@ -97,7 +97,7 @@
"postcss-html": "^1.7.0",
"postcss-scss": "^4.0.9",
"prettier": "^3.3.3",
- "sass": "^1.78.0",
+ "sass": "1.78.0",
"stylelint": "^16.9.0",
"stylelint-config-html": "^1.1.0",
"stylelint-config-recess-order": "^4.6.0",
@@ -120,6 +120,5 @@
},
"repository": "https://gitee.com/youlaiorg/vue3-element-admin.git",
"author": "有来开源组织",
- "license": "MIT",
- "packageManager": "pnpm@9.1.3+sha512.7c2ea089e1a6af306409c4fc8c4f0897bdac32b772016196c469d9428f1fe2d5a21daf8ad6512762654ac645b5d9136bb210ec9a00afa8dbc4677843ba362ecd"
+ "license": "MIT"
}
diff --git a/tsconfig.json b/tsconfig.json
index f6db304b..7d515579 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -21,7 +21,7 @@
"paths": {
"@/*": ["src/*"]
},
- "types": ["vite/client", "unplugin-icons/types/vue", "element-plus/global"]
+ "types": ["vite/client", "element-plus/global"]
},
"include": [
"mock/**/*.ts",
From d2b96ac74c9e6cf2f0378f74bbc77f1c053b1a16 Mon Sep 17 00:00:00 2001
From: Theo <971366405@qq.com>
Date: Tue, 8 Oct 2024 16:32:21 +0800
Subject: [PATCH 3/5] =?UTF-8?q?fix:=20:bug:=20=E4=BF=AE=E5=A4=8D=E5=AF=BC?=
=?UTF-8?q?=E8=88=AA=E8=AE=BE=E7=BD=AE=E4=B8=BA=E6=B7=B7=E5=90=88=E6=A8=A1?=
=?UTF-8?q?=E5=BC=8F=E6=97=B6=E5=9B=BE=E6=A0=87=E6=98=BE=E7=A4=BA=E4=B8=8D?=
=?UTF-8?q?=E6=AD=A3=E7=A1=AE=E7=9A=84bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
修复导航设置为混合模式时图标显示不正确的bug
---
.../Sidebar/components/SidebarMixTopMenu.vue | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/src/layout/components/Sidebar/components/SidebarMixTopMenu.vue b/src/layout/components/Sidebar/components/SidebarMixTopMenu.vue
index 6c431158..6982b815 100644
--- a/src/layout/components/Sidebar/components/SidebarMixTopMenu.vue
+++ b/src/layout/components/Sidebar/components/SidebarMixTopMenu.vue
@@ -15,10 +15,16 @@
:index="route.path"
>
-
+
+
+
+
+
+
+
首页
From 4af12d85bc0ea7e231e106bc0a1a1849c398b525 Mon Sep 17 00:00:00 2001
From: ray <1490493387@qq.com>
Date: Tue, 8 Oct 2024 19:26:30 +0800
Subject: [PATCH 4/5] =?UTF-8?q?fix:=20:bug:=20=E5=AD=97=E5=85=B8=E6=95=B0?=
=?UTF-8?q?=E6=8D=AE=E5=8F=82=E6=95=B0=E5=AD=97=E5=85=B8=E7=BC=96=E7=A0=81?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=8D=E6=AD=A3=E7=A1=AE=E9=97=AE=E9=A2=98?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/dict/data.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/system/dict/data.vue b/src/views/system/dict/data.vue
index 908910e7..d88712d5 100644
--- a/src/views/system/dict/data.vue
+++ b/src/views/system/dict/data.vue
@@ -199,7 +199,7 @@ const total = ref(0);
const queryParams = reactive({
pageNum: 1,
pageSize: 10,
- dictCode,
+ dictCode: dictCode.value,
});
const tableData = ref();
From cb25f9c12015c36fa7d620e24f5cc4d1479d742b Mon Sep 17 00:00:00 2001
From: ray <1490493387@qq.com>
Date: Tue, 8 Oct 2024 19:49:22 +0800
Subject: [PATCH 5/5] =?UTF-8?q?chore:=20:hammer:=20=E7=A7=BB=E9=99=A4?=
=?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=AF=BC=E5=85=A5=E7=9A=84=E6=97=A0=E7=94=A8?=
=?UTF-8?q?=E7=BB=84=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/types/components.d.ts | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/types/components.d.ts b/src/types/components.d.ts
index 4313ff0e..9184d45b 100644
--- a/src/types/components.d.ts
+++ b/src/types/components.d.ts
@@ -66,10 +66,7 @@ declare module "vue" {
GithubCorner: (typeof import("./../components/GithubCorner/index.vue"))["default"];
Hamburger: (typeof import("./../components/Hamburger/index.vue"))["default"];
IconSelect: (typeof import("./../components/IconSelect/index.vue"))["default"];
- IEpArrowDown: (typeof import("~icons/ep/arrow-down"))["default"];
- IEpArrowUp: (typeof import("~icons/ep/arrow-up"))["default"];
- IEpClose: (typeof import("~icons/ep/close"))["default"];
- IEpDownload: (typeof import("~icons/ep/download"))["default"];
+
LangSelect: (typeof import("./../components/LangSelect/index.vue"))["default"];
MenuSearch: (typeof import("./../components/MenuSearch/index.vue"))["default"];
Notice: (typeof import("./../components/Notice/index.vue"))["default"];
@@ -83,8 +80,6 @@ declare module "vue" {
PageModal: (typeof import("./../components/CURD/PageModal.vue"))["default"];
PageSearch: (typeof import("./../components/CURD/PageSearch.vue"))["default"];
Pagination: (typeof import("./../components/Pagination/index.vue"))["default"];
- PieChart: (typeof import("./../views/dashboard/components/PieChart.vue"))["default"];
- RadarChart: (typeof import("./../views/dashboard/components/RadarChart.vue"))["default"];
RouterLink: (typeof import("vue-router"))["RouterLink"];
RouterView: (typeof import("vue-router"))["RouterView"];
Settings: (typeof import("./../layout/components/Settings/index.vue"))["default"];