befly-admin-ui 1.8.18 → 1.8.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/layouts/default.vue
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<!-- 无子菜单 -->
|
|
18
18
|
<t-menu-item v-if="!menu.children || menu.children.length === 0" :value="menu.path">
|
|
19
19
|
<template #icon>
|
|
20
|
-
<
|
|
20
|
+
<HomeIcon v-if="menu.path === '/dashboard' || menu.path === '/core/' || menu.path === '/core'" style="margin-right: 8px" />
|
|
21
21
|
<ControlPlatformIcon v-else style="margin-right: 8px" />
|
|
22
22
|
</template>
|
|
23
23
|
{{ menu.name }}
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
<script setup>
|
|
78
78
|
import { arrayToTree } from "befly-admin-ui/utils/arrayToTree";
|
|
79
79
|
import { Button as TButton, DialogPlugin, Menu as TMenu, MenuItem as TMenuItem, MessagePlugin, Submenu as TSubmenu, Upload as TUpload } from "tdesign-vue-next";
|
|
80
|
-
import { CloudIcon, CloseCircleIcon, CodeIcon, LinkIcon, MenuIcon, SettingIcon, UserIcon, ControlPlatformIcon, AppIcon } from "tdesign-icons-vue-next";
|
|
80
|
+
import { CloudIcon, CloseCircleIcon, CodeIcon, LinkIcon, MenuIcon, SettingIcon, UserIcon, ControlPlatformIcon, AppIcon, HomeIcon } from "tdesign-icons-vue-next";
|
|
81
81
|
|
|
82
82
|
import { reactive, watch } from "vue";
|
|
83
83
|
import { useRoute, useRouter } from "vue-router";
|
package/package.json
CHANGED