@aiyiran/myclaw 1.1.78 → 1.1.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1057,7 +1057,7 @@
|
|
|
1057
1057
|
if (['html', 'htm'].indexOf(ext) !== -1) {
|
|
1058
1058
|
// HTML → iframe src (CDN)
|
|
1059
1059
|
previewIframe.style.display = 'block';
|
|
1060
|
-
previewIframe.src = buildPreviewUrl(null,
|
|
1060
|
+
previewIframe.src = buildPreviewUrl(null, filePath) + '?t=' + Date.now();
|
|
1061
1061
|
|
|
1062
1062
|
} else if (['png', 'jpg', 'jpeg', 'gif', 'webp', 'svg', 'bmp', 'ico'].indexOf(ext) !== -1) {
|
|
1063
1063
|
// 图片 → <img> src 直接指向 API URL(浏览器可直接加载二进制)
|