mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-06-07 00:30:14 +08:00
✨ Feature(custom): add build in alist support and fix gallery bug
ISSUES CLOSED: #218
This commit is contained in:
@@ -431,6 +431,7 @@ function handleDetectShiftKey(event: KeyboardEvent) {
|
||||
const filterList = computed(() => {
|
||||
return getGallery()
|
||||
})
|
||||
console.log(filterList)
|
||||
|
||||
const isAllSelected = computed(() => {
|
||||
const values = Object.values(choosedList)
|
||||
@@ -474,7 +475,7 @@ function getGallery(): IGalleryItem[] {
|
||||
.map(item => {
|
||||
return {
|
||||
...item,
|
||||
src: item.imgUrl || '',
|
||||
src: item.galleryPath || item.imgUrl || '',
|
||||
key: item.id || `${Date.now()}`,
|
||||
intro: item.fileName || ''
|
||||
}
|
||||
@@ -483,7 +484,7 @@ function getGallery(): IGalleryItem[] {
|
||||
return images.value.map(item => {
|
||||
return {
|
||||
...item,
|
||||
src: item.imgUrl || '',
|
||||
src: item.galleryPath || item.imgUrl || '',
|
||||
key: item.id || `${Date.now()}`,
|
||||
intro: item.fileName || ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user