From 4093a49d8232c7b63fbef428064d88e477fc3fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=8C=E8=90=8C=E5=93=92=E8=B5=AB=E8=90=9D?= <ma_shiqing@163.com> Date: Thu, 3 Aug 2023 04:48:53 -0700 Subject: [PATCH] :zap: Perf: optimize the performance of main page --- src/main.ts | 3 ++- src/renderer/layouts/Main.vue | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index 61e76e0..aa9df74 100644 --- a/src/main.ts +++ b/src/main.ts @@ -34,7 +34,8 @@ app.config.globalProperties.$builtInPicBed = [ 'upyun', 'aliyun', 'github', - 'webdavplist' + 'webdavplist', + 'local' ] app.config.unwrapInjectedRef = true diff --git a/src/renderer/layouts/Main.vue b/src/renderer/layouts/Main.vue index 27a795a..913cb49 100644 --- a/src/renderer/layouts/Main.vue +++ b/src/renderer/layouts/Main.vue @@ -105,7 +105,7 @@ </el-sub-menu> <el-menu-item :index="routerConfig.SETTING_PAGE"> <el-icon> - <Setting /> + <Tools /> </el-icon> <span>{{ $T('PICLIST_SETTINGS') }}</span> </el-menu-item> @@ -235,7 +235,7 @@ <script lang="ts" setup> // import { Component, Vue, Watch } from 'vue-property-decorator' import { - Setting, + Tools, UploadFilled, PictureFilled, Menu,