zhytech-ui-mobile 1.1.4 → 1.1.6
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 +30 -0
- package/dist/style.css +1 -1
- package/dist/zhytech-ui-mobile.es.js +65310 -165898
- package/dist/zhytech-ui-mobile.umd.js +15 -57
- package/package.json +14 -25
package/README.md
CHANGED
|
@@ -51,6 +51,24 @@ setTheme("dark");
|
|
|
51
51
|
```ts
|
|
52
52
|
import type { batchAddComponentParam, dynamicFormData, uploadOption } from "zhytech-ui-mobile";
|
|
53
53
|
```
|
|
54
|
+
|
|
55
|
+
### 依赖安装说明
|
|
56
|
+
|
|
57
|
+
**重要:在使用此组件库前,请确保安装以下必需依赖:**
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
npm install vue@^3.3.11 @vueuse/core@^10.11.1 dayjs@^1.11.18
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**可选依赖(根据使用的组件功能选择安装):**
|
|
64
|
+
- 文件预览功能:`npm install @js-preview/docx@^1.6.4 @js-preview/excel@^1.7.14 pptx-preview@^1.0.1 pdfjs-dist@^2.16.105 xgplayer@^3.0.23`
|
|
65
|
+
- 验证码功能:`npm install vue3-puzzle-vcode@^1.1.7`
|
|
66
|
+
|
|
67
|
+
**如果安装时出现peerDependencies冲突警告,请检查依赖版本或使用:**
|
|
68
|
+
```bash
|
|
69
|
+
npm install --legacy-peer-deps
|
|
70
|
+
```
|
|
71
|
+
|
|
54
72
|
> #### 注意:
|
|
55
73
|
|
|
56
74
|
1)、此组件库提供的所有组件在使用时均需要添加**zhy**前缀,如:zhy-form-renderer
|
|
@@ -61,6 +79,18 @@ setTheme("dark");
|
|
|
61
79
|
|
|
62
80
|
> #### 版本更新清单:
|
|
63
81
|
|
|
82
|
+
**V 1.1.6**
|
|
83
|
+
```html
|
|
84
|
+
1.zhyFilePreview组件新增extensionName属性,用于指定文件类型
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**V 1.1.5**
|
|
88
|
+
```html
|
|
89
|
+
1.修复zhyFilePreview组件,两个视频文件切换时,视频没有切换
|
|
90
|
+
2.修复zhyFormRenderer组件,答题卡永远显示错误的问题
|
|
91
|
+
3.优化组件库打包配置,减少组件库体积
|
|
92
|
+
```
|
|
93
|
+
|
|
64
94
|
**V 1.1.4**
|
|
65
95
|
```html
|
|
66
96
|
1.编译后移除pdfjs-list文件夹,减少项目体积
|