zhytech-ui 1.2.11 → 1.2.13
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 +12 -0
- package/dist/src/components/filePreview/types/filePreviewType.d.ts +9 -1
- package/dist/style.css +1 -1
- package/dist/zhytech-ui.es.js +2123 -2120
- package/dist/zhytech-ui.umd.js +10 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -90,6 +90,18 @@ npm install --legacy-peer-deps
|
|
|
90
90
|
|
|
91
91
|
> #### 版本更新清单:
|
|
92
92
|
|
|
93
|
+
**V 1.2.13**
|
|
94
|
+
```html
|
|
95
|
+
1.修复zhy-dynamic-renderer组件tabs组件无法添加子组件问题
|
|
96
|
+
2.调整zhy-dynamic-renderer组件新增tabs后默认显示第一个页签
|
|
97
|
+
2.移除隐藏标题时,清空标题内容的逻辑
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**V 1.2.12**
|
|
101
|
+
```html
|
|
102
|
+
1.zhy-file-preview组件添加 dynamicGetFile参数,用于动态获取文件内容
|
|
103
|
+
```
|
|
104
|
+
|
|
93
105
|
**V 1.2.11**
|
|
94
106
|
```html
|
|
95
107
|
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 {};
|