From 87ca67ba3c9b855b14422f36f96440e4c89f2fd1 Mon Sep 17 00:00:00 2001 From: FatttSnake Date: Sat, 14 Oct 2023 18:51:19 +0800 Subject: [PATCH] Change the icon of home and all tools in ToolsFramework --- src/assets/svg/tool.svg | 1 + src/router/tools.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 src/assets/svg/tool.svg diff --git a/src/assets/svg/tool.svg b/src/assets/svg/tool.svg new file mode 100644 index 0000000..0a3973c --- /dev/null +++ b/src/assets/svg/tool.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/router/tools.tsx b/src/router/tools.tsx index a98995c..a3a4fcd 100644 --- a/src/router/tools.tsx +++ b/src/router/tools.tsx @@ -7,7 +7,7 @@ export const toolsJsonObjects: ToolsJsonObject[] = [ path: '', id: 'tools', component: React.lazy(() => import('@/pages/tools')), - icon: React.lazy(() => import('~icons/fatweb/logo.jsx')), + icon: React.lazy(() => import('~icons/fatweb/home.jsx')), name: '主页', menu: true, auth: false @@ -18,7 +18,7 @@ export const toolsJsonObjects: ToolsJsonObject[] = [ component: React.lazy(() => import('@/pages/tools')), name: '全部工具', titlePostfix: ' - 全部工具', - icon: React.lazy(() => import('~icons/fatweb/logo.jsx')), + icon: React.lazy(() => import('~icons/fatweb/tool.jsx')), menu: true, auth: false },