@ddwl/ddwl-ui 1.0.20 → 1.0.22

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/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
1
+ ## [1.0.22](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.21...v1.0.22) (2025-07-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * d-search-table 修复表单初始化执行多次问题 ([6df514e](https://121.40.23.60:51888/frontend/ddwl-ui/commits/6df514ea4c8fb57c03ccf579f47634904f8ffc7d))
7
+
8
+
9
+
10
+ ## [1.0.21](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.20...v1.0.21) (2025-07-16)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * d-import-file 默认提示文案上传格式/文件大小跟随props ([a41f7d3](https://121.40.23.60:51888/frontend/ddwl-ui/commits/a41f7d386d4b3a860190772a001fb3c36c76864f))
16
+
17
+
18
+
1
19
  ## [1.0.20](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.19...v1.0.20) (2025-07-11)
2
20
 
3
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ddwl/ddwl-ui",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "private": false,
5
5
  "main": "src/main.js",
6
6
  "description": "ddwl组件库",
@@ -49,7 +49,7 @@
49
49
  </el-button>
50
50
  </el-form>
51
51
  <slot>
52
- <p>1. 支持导入格式为xlsxxls的文件,且文件大小不可超过5M</p>
52
+ <p>1. 支持导入格式为{{ fileType.join('') }}的文件,且文件大小不可超过{{ fileSize }}M</p>
53
53
  <p>2. 模板的表头不可更改,不可删除</p>
54
54
  <p>3. 若导入数据存在编码一致的情况则会更新原有数据</p>
55
55
  <p>4. 若导入过程中有问题,需调整模板内容后再重新导入</p>
@@ -34,8 +34,7 @@ export default {
34
34
  },
35
35
  data() {
36
36
  return {
37
- form: {},
38
- complateInit: false
37
+ form: {}
39
38
  }
40
39
  },
41
40
  computed: {
@@ -52,16 +51,9 @@ export default {
52
51
  }
53
52
  }
54
53
  },
55
- watch: {
56
- config: {
57
- handler() {
58
- this.createFormBind()
59
- },
60
- deep: true,
61
- immediate: true
62
- }
54
+ created() {
55
+ this.createFormBind()
63
56
  },
64
- created() { },
65
57
  methods: {
66
58
  createFormBind() {
67
59
  const _form = {};