perf(canvas): 缩略图生成限流 + 空闲启动 + 大图 paint 隔离(v3.25.67)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m7s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m7s
This commit is contained in:
1 parent
1b1bcbb2cd
commit
0baeda2abd
17 files changed
+236
-58
No files matched your search
@@ -691,7 +691,7 @@
|
||||
return el('div', { className: 'iwb-node-body iwb-ref-body' },
|
||||
hasImg
|
||||
? el('div', { className: 'iwb-ref-show' },
|
||||
el('img', { className: 'iwb-ref-single', loading: 'lazy', decoding: 'async', src: wPreviewUrlOf(wDisplayThumbOf(wThumbSrc(src))), alt: '图片', draggable: false, title: '双击放大 · 单击可拖动' }),
|
||||
el('img', { className: 'iwb-ref-single', loading: 'lazy', decoding: 'async', fetchPriority: 'low', src: wPreviewUrlOf(wDisplayThumbOf(wThumbSrc(src))), alt: '图片', draggable: false, title: '双击放大 · 单击可拖动' }),
|
||||
(typeof d.url === 'string' && d.url) ? el('div', { className: 'iwb-ref-url-current', title: d.url }, 'URL 图片') : null,
|
||||
)
|
||||
: el('div', { className: 'iwb-ref-emptybox', title: '单击选中 · 双击上传图片', onDoubleClick: (e) => { e.stopPropagation(); if (refFileInput) refFileInput.click() } },
|
||||
|
||||
Reference in new issue
Block a user