mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 06:38:13 -05:00
🐛 Fix: fix an issue related with layout style
This commit is contained in:
parent
6f40c0912e
commit
083917e34f
@ -2133,7 +2133,7 @@ async function resetParam (force: boolean = false) {
|
||||
previewedImage.value = ''
|
||||
isShowFileInfo.value = false
|
||||
lastChoosed.value = -1
|
||||
layoutStyle.value = manageStore.config.settings.isShowList ? 'list' : 'grid'
|
||||
layoutStyle.value = await getConfig('settings.isShowList') ? 'list' : 'grid'
|
||||
if (!isAutoRefresh.value && !force && !paging.value) {
|
||||
const cachedData = await searchExistFileList()
|
||||
if (cachedData.length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user