@dhccmobile/vue3-lo-form 2.0.3 → 2.0.5
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 +13 -0
- package/dist/demo.html +10 -1
- package/dist/vue3-lo-form.common.js +7007 -8665
- package/dist/vue3-lo-form.common.js.map +1 -1
- package/dist/vue3-lo-form.css +1 -1
- package/dist/vue3-lo-form.umd.js +7009 -8668
- package/dist/vue3-lo-form.umd.js.map +1 -1
- package/dist/vue3-lo-form.umd.min.js +1 -1
- package/dist/vue3-lo-form.umd.min.js.map +1 -1
- package/package.json +8 -8
- package/src/App.vue +1 -1
- package/src/components/form/DvForm.vue +34 -7
- package/src/components/form/DvFormLayout.vue +39 -3
- package/src/constants/enum/submitted-type.enum.ts +2 -0
- package/src/main.ts +2 -0
- package/src/styles/theme-3.scss +371 -0
- package/src/styles/theme-4.scss +401 -0
- package/src/styles/themes.scss +10 -2
- package/types/constants/enum/submitted-type.enum.d.ts +8 -0
package/README.md
CHANGED
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
动态表单-支持Vue3.0版-PC端-插件
|
|
5
5
|
|
|
6
6
|
### 更新日志
|
|
7
|
+
- 2.0.4
|
|
8
|
+
1. dy-form添加表单权限控制属性`formLimits`
|
|
9
|
+
```js
|
|
10
|
+
/** 字段权限示例
|
|
11
|
+
* - id: 表单字段
|
|
12
|
+
* - isHide: 0-显示 1-隐藏
|
|
13
|
+
* - isNotEdit: 0-可编辑 1-不可编辑
|
|
14
|
+
* - isMustFill: 0-可为空 1-必填
|
|
15
|
+
*/
|
|
16
|
+
formLimits: [{ id: 'deptNm', isHide: 0, isNotEdit: 0, isMustFill: 0 }]
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
- 2.0.3
|
|
7
20
|
- 2.0.2
|
|
8
21
|
1.适配移动端单行展示
|
|
9
22
|
|
package/dist/demo.html
CHANGED
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
<meta charset="utf-8">
|
|
2
|
+
<title>vue3-lo-form demo</title>
|
|
3
|
+
<script src="./vue3-lo-form.umd.js"></script>
|
|
4
|
+
|
|
5
|
+
<link rel="stylesheet" href="./vue3-lo-form.css">
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
console.log(vue3-lo-form)
|
|
10
|
+
</script>
|