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 +5 -0
- package/dist/src/components/filePreview/types/filePreviewType.d.ts +9 -1
- package/dist/style.css +1 -1
- package/dist/zhytech-ui.es.js +1861 -1853
- package/dist/zhytech-ui.umd.js +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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 {};
|