feat(console): 媒体库抓手排序——每行缩略图与垃圾桶之间加六点抓手,按住上下拖实时重排、松手持久化(photoStore.reorder + env)
This commit is contained in:
@@ -1425,6 +1425,7 @@ function WorktableSection(props: any) {
|
||||
},
|
||||
setPhotoId: (id: string) => persistView({ consoleBgPhotoId: id }),
|
||||
removePhoto: async (id: string) => { await photoStore.remove(id) },
|
||||
reorderPhotos: async (ids: string[]) => { await photoStore.reorder(ids) },
|
||||
getPhotoGrid: () => viewRef.current.consoleBgPhotoGrid !== false,
|
||||
setPhotoGrid: (v: boolean) => persistView({ consoleBgPhotoGrid: v }),
|
||||
getGridOpacity: () => viewRef.current.consoleBgGridOpacity ?? 8,
|
||||
|
||||
Reference in New Issue
Block a user