el-plus-crud 0.1.116 → 0.1.118

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.118](https://github.com/KDJack/el-plus-crud/compare/v0.1.117...v0.1.118) (2026-08-12)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **form:** 修复仅带 previewUrl 的图片/文件预览缺陷 ([6742553](https://github.com/KDJack/el-plus-crud/commit/6742553aa3bcda0c16913eab7a21702f40ef4d98))
11
+
12
+ ### [0.1.117](https://github.com/KDJack/el-plus-crud/compare/v0.1.116...v0.1.117) (2026-08-12)
13
+
14
+
15
+ ### Features
16
+
17
+ * **form:** file 组件改为圆角卡片样式,与 upload 卡片统一 ([9109043](https://github.com/KDJack/el-plus-crud/commit/9109043a62dc992e87744731749492e784c3e04b))
18
+
5
19
  ### [0.1.116](https://github.com/KDJack/el-plus-crud/compare/v0.1.115...v0.1.116) (2026-08-12)
6
20
 
7
21
  ### [0.1.115](https://github.com/KDJack/el-plus-crud/compare/v0.1.114...v0.1.115) (2026-08-12)
@@ -17,9 +17,10 @@ export declare function typeLabel(file: any): string;
17
17
  export declare function isImageFile(file: any): boolean;
18
18
  /**
19
19
  * 图片可直接 <img> 展示的 url(缩略图 / 预览器共用)。
20
- * 与 ElPlusFormUpload.getImgPreviewUrl 取址完全一致:
21
- * signUrl → shareUrl → url → furl,含 raw 兜底;不含 previewUrl
22
- *(后者是「非图片」文件的在线预览地址,不适用于图片缩略图,见 oss-upload-url-semantics 记忆)。
20
+ * 取址顺序:signUrl → shareUrl → url → furl → previewUrl(末位兜底),含 raw 兜底。
21
+ * 末位 previewUrl 用于兼容「图片仅带 previewUrl、无 objectUrl 直链」的异常数据——
22
+ * 否则缩略图能显示、但预览器 url-list 取空 → el-image-viewer 打开后 img 不渲染。
23
+ * 正常 OSS 图片首选仍是 shareUrl(objectUrl),previewUrl 仅在全空时兜底,不改变首选语义。
23
24
  */
24
25
  export declare function getImageUrl(item: any): string;
25
26
  /**