xiaoxian521
2 years ago
16 changed files with 82 additions and 40 deletions
-
4mock/asyncRoutes.ts
-
6package.json
-
16pnpm-lock.yaml
-
2public/serverConfig.json
-
14src/components/ReIcon/src/offlineIcon.ts
-
32src/layout/components/setting/index.vue
-
8src/layout/components/sidebar/horizontal.vue
-
9src/layout/components/sidebar/mixNav.vue
-
2src/layout/components/sidebar/sidebarItem.vue
-
11src/layout/components/sidebar/vertical.vue
-
2src/layout/index.vue
-
3src/layout/types.ts
-
3src/router/modules/error.ts
-
3src/router/modules/home.ts
-
3src/router/modules/remaining.ts
-
4src/router/utils.ts
@ -9,9 +9,9 @@ specifiers: |
|||
'@iconify/vue': ^4.0.0 |
|||
'@intlify/vite-plugin-vue-i18n': ^6.0.3 |
|||
'@pureadmin/descriptions': ^1.1.0 |
|||
'@pureadmin/table': ^1.8.2 |
|||
'@pureadmin/table': ^1.8.3 |
|||
'@pureadmin/theme': ^2.4.0 |
|||
'@pureadmin/utils': ^1.7.2 |
|||
'@pureadmin/utils': ^1.7.4 |
|||
'@types/element-resize-detector': 1.1.3 |
|||
'@types/js-cookie': ^3.0.1 |
|||
'@types/lodash': ^4.14.180 |
|||
@ -95,8 +95,8 @@ specifiers: |
|||
dependencies: |
|||
'@ctrl/tinycolor': 3.4.1 |
|||
'@pureadmin/descriptions': 1.1[email protected] |
|||
'@pureadmin/table': 1.8.2[email protected] |
|||
'@pureadmin/utils': 1.7.2_aotapuqn7htzdjltsyimavekky |
|||
'@pureadmin/table': 1.8.3[email protected] |
|||
'@pureadmin/utils': 1.7.4_aotapuqn7htzdjltsyimavekky |
|||
'@vueuse/core': 9.6[email protected] |
|||
'@vueuse/motion': 2.0.0-[email protected] |
|||
animate.css: 4.1.1 |
|||
@ -920,8 +920,8 @@ packages: |
|||
vue: 3.2.45 |
|||
dev: false |
|||
|
|||
/@pureadmin/table/1.8.2[email protected]: |
|||
resolution: {integrity: sha512-FGh1aOfgQtX16pCnP+bxg49TetcZDhdykIue0m5d8NIj6zkvJP53JU+DkUpvqvKmUiMsvIwme6e17BLZMmMiOw==} |
|||
/@pureadmin/table/1.8.3[email protected]: |
|||
resolution: {integrity: sha512-M+I+CDu74s/ffNybbDg0rHhiMHTdkgVIaksfmmrEwjuLB2nEaz7R0tob2qC5rKE96U2Z246meDHBidyQNx2z9w==} |
|||
peerDependencies: |
|||
element-plus: ^2.0.0 |
|||
dependencies: |
|||
@ -937,8 +937,8 @@ packages: |
|||
string-hash: 1.1.3 |
|||
dev: true |
|||
|
|||
/@pureadmin/utils/1.7.2_aotapuqn7htzdjltsyimavekky: |
|||
resolution: {integrity: sha512-L8tmogs9HCX6nuga1g79DcZr3KXNoWnIFcyP2z4zpmUmdBBAmMpXXz3Z+emI6HELmZu8DFx+v1MfKxccgsODRQ==} |
|||
/@pureadmin/utils/1.7.4_aotapuqn7htzdjltsyimavekky: |
|||
resolution: {integrity: sha512-uJNHcb2sO7R2avALf+v4TGyuZtJix0Wpw/kMb6eO4C003ZQImuGGi9WlxHaOlESrMyFHZ1AjWm5AqLwJLnpVlw==} |
|||
peerDependencies: |
|||
dayjs: '*' |
|||
echarts: '*' |
|||
|
@ -0,0 +1,14 @@ |
|||
import { addIcon } from "@iconify/vue/dist/offline"; |
|||
|
|||
/** |
|||
* 这里存放本地图标,在 src/layout/index.vue 文件中加载,避免在首启动加载 |
|||
*/ |
|||
|
|||
// 本地菜单图标,后端在路由的icon中返回对应的图标字符串并且前端在此处使用addIcon添加即可渲染菜单图标
|
|||
import HomeFilled from "@iconify-icons/ep/home-filled"; |
|||
import InformationLine from "@iconify-icons/ri/information-line"; |
|||
import Lollipop from "@iconify-icons/ep/lollipop"; |
|||
|
|||
addIcon("homeFilled", HomeFilled); |
|||
addIcon("informationLine", InformationLine); |
|||
addIcon("lollipop", Lollipop); |
Write
Preview
Loading…
Cancel
Save
Reference in new issue