|
@@ -0,0 +1,51 @@
|
|
|
+import { addIcon } from "@iconify/vue/dist/offline";
|
|
|
+
|
|
|
+/**
|
|
|
+ * 这里存放本地图标,在 src/layout/index.vue 文件中加载,避免在首启动加载
|
|
|
+ */
|
|
|
+
|
|
|
+// 本地菜单图标,后端在路由的icon中返回对应的图标字符串并且前端在此处使用addIcon添加即可渲染菜单图标
|
|
|
+import UbuntuFill from "@iconify-icons/ri/ubuntu-fill";
|
|
|
+import Menu from "@iconify-icons/ep/menu";
|
|
|
+import Edit from "@iconify-icons/ep/edit";
|
|
|
+import InformationLine from "@iconify-icons/ri/information-line";
|
|
|
+import SetUp from "@iconify-icons/ep/set-up";
|
|
|
+import TerminalWindowLine from "@iconify-icons/ri/terminal-window-line";
|
|
|
+import Guide from "@iconify-icons/ep/guide";
|
|
|
+import HomeFilled from "@iconify-icons/ep/home-filled";
|
|
|
+import Card from "@iconify-icons/ri/bank-card-line";
|
|
|
+import ListCheck from "@iconify-icons/ri/list-check";
|
|
|
+import Histogram from "@iconify-icons/ep/histogram";
|
|
|
+import Ppt from "@iconify-icons/ri/file-ppt-2-line";
|
|
|
+import CheckboxCircleLine from "@iconify-icons/ri/checkbox-circle-line";
|
|
|
+import FlUser from "@iconify-icons/ri/admin-line";
|
|
|
+import Role from "@iconify-icons/ri/admin-fill";
|
|
|
+import Dict from "@iconify-icons/ri/git-repository-line";
|
|
|
+import Setting from "@iconify-icons/ri/settings-3-line";
|
|
|
+import Dept from "@iconify-icons/ri/git-branch-line";
|
|
|
+import Lollipop from "@iconify-icons/ep/lollipop";
|
|
|
+import Monitor from "@iconify-icons/ep/monitor";
|
|
|
+addIcon("ubuntuFill", UbuntuFill);
|
|
|
+addIcon("menu", Menu);
|
|
|
+addIcon("edit", Edit);
|
|
|
+addIcon("informationLine", InformationLine);
|
|
|
+addIcon("setUp", SetUp);
|
|
|
+addIcon("terminalWindowLine", TerminalWindowLine);
|
|
|
+addIcon("guide", Guide);
|
|
|
+addIcon("homeFilled", HomeFilled);
|
|
|
+addIcon("card", Card);
|
|
|
+addIcon("listCheck", ListCheck);
|
|
|
+addIcon("histogram", Histogram);
|
|
|
+addIcon("ppt", Ppt);
|
|
|
+addIcon("checkboxCircleLine", CheckboxCircleLine);
|
|
|
+addIcon("flUser", FlUser);
|
|
|
+addIcon("role", Role);
|
|
|
+addIcon("dict", Dict);
|
|
|
+addIcon("setting", Setting);
|
|
|
+addIcon("dept", Dept);
|
|
|
+addIcon("lollipop", Lollipop);
|
|
|
+addIcon("monitor", Monitor);
|
|
|
+
|
|
|
+// 非菜单图标
|
|
|
+import RefreshRight from "@iconify-icons/ep/refresh-right";
|
|
|
+addIcon("refreshRight", RefreshRight);
|