Skip to content

Commit 4093a49

Browse files
committed
⚡ Perf: optimize the performance of main page
1 parent 562f3c2 commit 4093a49

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ app.config.globalProperties.$builtInPicBed = [
3434
'upyun',
3535
'aliyun',
3636
'github',
37-
'webdavplist'
37+
'webdavplist',
38+
'local'
3839
]
3940
app.config.unwrapInjectedRef = true
4041

src/renderer/layouts/Main.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
</el-sub-menu>
106106
<el-menu-item :index="routerConfig.SETTING_PAGE">
107107
<el-icon>
108-
<Setting />
108+
<Tools />
109109
</el-icon>
110110
<span>{{ $T('PICLIST_SETTINGS') }}</span>
111111
</el-menu-item>
@@ -235,7 +235,7 @@
235235
<script lang="ts" setup>
236236
// import { Component, Vue, Watch } from 'vue-property-decorator'
237237
import {
238-
Setting,
238+
Tools,
239239
UploadFilled,
240240
PictureFilled,
241241
Menu,

0 commit comments

Comments
 (0)