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.
@@ -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
- <LinkIcon v-if="menu.path === '/dashboard' || menu.path === '/core/' || menu.path === '/core'" style="margin-right: 8px" />
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "befly-admin-ui",
3
- "version": "1.8.18",
4
- "gitHead": "3fab09ac346b6d336a2f60b123d4856d077f8c7d",
3
+ "version": "1.8.19",
4
+ "gitHead": "9416f1ba55e2a0521d10a4ed592529a816a91c46",
5
5
  "private": false,
6
6
  "description": "Befly - 管理后台功能组件",
7
7
  "keywords": [
@@ -67,7 +67,7 @@ fetchData();
67
67
  const getProgressColor = (percentage) => {
68
68
  if (percentage < 50) return "success";
69
69
  if (percentage < 80) return "warning";
70
- return "danger";
70
+ return "error";
71
71
  };
72
72
  </script>
73
73