mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-02 11:08: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 = ''
|
previewedImage.value = ''
|
||||||
isShowFileInfo.value = false
|
isShowFileInfo.value = false
|
||||||
lastChoosed.value = -1
|
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) {
|
if (!isAutoRefresh.value && !force && !paging.value) {
|
||||||
const cachedData = await searchExistFileList()
|
const cachedData = await searchExistFileList()
|
||||||
if (cachedData.length > 0) {
|
if (cachedData.length > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user