feat(console): 媒体库抓手排序——每行缩略图与垃圾桶之间加六点抓手,按住上下拖实时重排、松手持久化(photoStore.reorder + env)

This commit is contained in:
Aisland
2026-09-02 00:46:38 +08:00
parent 064f4644ec
commit 3f2b80f347
14 changed files with 189 additions and 3 deletions
+2
View File
@@ -0,0 +1,2 @@
$ErrorActionPreference = 'Stop'
opencli --profile 74u3g3us browser wt eval "(async () => { const o = indexedDB.open('dsh-worktable', 2); const db = await new Promise((res, rej) => { o.onsuccess = () => res(o.result); o.onerror = () => rej(o.error); }); const r = db.transaction('photoRecords', 'readonly').objectStore('photoRecords').getAll(); const list = await new Promise((res, rej) => { r.onsuccess = () => res(r.target.result); r.onerror = () => rej(r.error); }); return JSON.stringify(list.map(x => ({ id: x.id, type: x.blob && x.blob.type, size: x.blob && x.blob.size }))); })()"