chore: v3.26.227(测试版:图库一致性快修)

This commit is contained in:
qiqi committed 2026-12-03 00:25:50 +08:00
1 parent 7d106d2f2c
commit 0b9d7d4cfc
12 files changed
+129 -54

No files matched your search

+2 -1
View File
@@ -29,7 +29,8 @@
const added = []
for (const item of items || []) if (item && item.url) {
const name = item.name || ('gen_' + Date.now() + '_' + Math.floor(Math.random() * 1e6) + '.png')
index.push({ name, url: item.url, size: item.size || 0, mtime: item.mtime || Date.now(), w: item.width || item.w || 0, h: item.height || item.h || 0, label: item.label || '' })
// 2026-12-03:保留 orig 状态 —— 之前重建行时丢掉它,行若在 markOk 之后创建就永远显示「未落地」。
index.push({ name, url: item.url, size: item.size || 0, mtime: item.mtime || Date.now(), w: item.width || item.w || 0, h: item.height || item.h || 0, label: item.label || '', orig: item.orig || 'pending' })
added.push(name)
}
const opts = options || {}