mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-03-13 00:18:13 -04:00
🐛 Fix: fix isShowThumbnail not work
This commit is contained in:
parent
bc6210015c
commit
351fd9c99f
4
.gitignore
vendored
4
.gitignore
vendored
@ -20,8 +20,8 @@ test.js
|
||||
.env
|
||||
scripts/*.yml
|
||||
scripts/generateYmlFile.js
|
||||
|
||||
.yarnrc
|
||||
#Electron-builder output
|
||||
/dist_electron
|
||||
/docs
|
||||
cloc.exe
|
||||
cloc.exe
|
||||
|
12
.yarnrc
12
.yarnrc
@ -1,12 +0,0 @@
|
||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
||||
# yarn lockfile v1
|
||||
|
||||
|
||||
registry "https://registry.npm.taobao.org"
|
||||
sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
|
||||
phantomjs_cdnurl "http://cnpmjs.org/downloads"
|
||||
electron_mirror "https://npm.taobao.org/mirrors/electron/"
|
||||
sqlite3_binary_host_mirror "https://foxgis.oss-cn-shanghai.aliyuncs.com/"
|
||||
profiler_binary_host_mirror "https://npm.taobao.org/mirrors/node-inspector/"
|
||||
chromedriver_cdnurl "https://cdn.npm.taobao.org/dist/chromedriver"
|
||||
|
BIN
356u2spwu37
BIN
356u2spwu37
Binary file not shown.
Before Width: | Height: | Size: 151 KiB |
@ -1175,7 +1175,7 @@ const itemsPerPage = computed(() => manageStore.config.picBed[configMap.alias].i
|
||||
|
||||
const calculateAllFileSize = computed(() => formatFileSize(currentPageFilesInfo.reduce((total: any, item: { fileSize: any }) => total + item.fileSize, 0)) || '0')
|
||||
|
||||
const isShowImageIcon = computed(() => manageStore.config.settings.isShowImageIcon ?? false)
|
||||
const isShowThumbnail = computed(() => manageStore.config.settings.isShowThumbnail ?? false)
|
||||
const isAutoRefresh = computed(() => manageStore.config.settings.isAutoRefresh ?? false)
|
||||
const isIgnoreCase = computed(() => manageStore.config.settings.isIgnoreCase ?? false)
|
||||
|
||||
@ -2333,7 +2333,7 @@ const columns: Column<any>[] = [
|
||||
reference: () => (
|
||||
!item.isDir
|
||||
? <ElImage
|
||||
src={isShowImageIcon.value ? item.isImage ? item.url : require(`./assets/icons/${getFileIconPath(item.fileName ?? '')}`) : require(`./assets/icons/${getFileIconPath(item.fileName ?? '')}`)}
|
||||
src={isShowThumbnail.value ? item.isImage ? item.url : require(`./assets/icons/${getFileIconPath(item.fileName ?? '')}`) : require(`./assets/icons/${getFileIconPath(item.fileName ?? '')}`)}
|
||||
fit="contain"
|
||||
style={{ width: '20px', height: '20px' }}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user