Perf: optimize the performance of main page

This commit is contained in:
萌萌哒赫萝 2023-08-03 04:48:53 -07:00
parent 562f3c2926
commit 4093a49d82
2 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,8 @@ app.config.globalProperties.$builtInPicBed = [
'upyun',
'aliyun',
'github',
'webdavplist'
'webdavplist',
'local'
]
app.config.unwrapInjectedRef = true

View File

@ -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,