zhytech-ui 1.2.11 → 1.2.12

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/README.md CHANGED
@@ -90,6 +90,11 @@ npm install --legacy-peer-deps
90
90
 
91
91
  > #### 版本更新清单:
92
92
 
93
+ **V 1.2.12**
94
+ ```html
95
+ 1.zhy-file-preview组件添加 dynamicGetFile参数,用于动态获取文件内容
96
+ ```
97
+
93
98
  **V 1.2.11**
94
99
  ```html
95
100
  1.修复文件预览PDF文件时,低版本浏览器显示异常
@@ -1,7 +1,11 @@
1
1
  /**
2
- * @description: 文档管理中文件上传参数类型
2
+ * @description: 文件参数类型
3
3
  */
4
4
  export interface fileView {
5
+ /**
6
+ * 文件ID
7
+ */
8
+ fileID?: string;
5
9
  /**
6
10
  * 文件名称
7
11
  */
@@ -234,5 +238,9 @@ export interface filePreviewOption {
234
238
  * pdf预览配置项
235
239
  */
236
240
  pdfOption?: pdfOptionType;
241
+ /**
242
+ * @description: 动态获取文件函数,用于动态获取文件内容
243
+ */
244
+ dynamicGetFile?: Function;
237
245
  }
238
246
  export {};