@ddwl/ddwl-ui 1.0.19 → 1.0.21
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,22 @@
|
|
|
1
|
+
## [1.0.21](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.20...v1.0.21) (2025-07-16)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* d-import-file 默认提示文案上传格式/文件大小跟随props ([a41f7d3](https://121.40.23.60:51888/frontend/ddwl-ui/commits/a41f7d386d4b3a860190772a001fb3c36c76864f))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [1.0.20](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.19...v1.0.20) (2025-07-11)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* 修复d-dialog/d-drawer title透传出现tootip问题 ([92d477e](https://121.40.23.60:51888/frontend/ddwl-ui/commits/92d477eb5846622b96305053d1d06fa1896fb498))
|
|
16
|
+
* 修复d-form direction属性为line时布局错乱问题 ([0329f88](https://121.40.23.60:51888/frontend/ddwl-ui/commits/0329f888f8fc4bd61c328179fe2ae0965ef57543))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
1
20
|
## [1.0.19](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.18...v1.0.19) (2025-07-09)
|
|
2
21
|
|
|
3
22
|
|
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
:class="fullscreen ? 'cover-screen-dialog' : ''"
|
|
5
5
|
class="d-dialog"
|
|
6
6
|
v-bind="$attrs"
|
|
7
|
+
:title="title"
|
|
7
8
|
:close-on-click-modal="closeOnClickModal"
|
|
8
9
|
:visible.sync="visible"
|
|
9
10
|
:width="width"
|
|
@@ -46,6 +47,10 @@ export default {
|
|
|
46
47
|
type: Boolean,
|
|
47
48
|
default: false
|
|
48
49
|
},
|
|
50
|
+
title: {
|
|
51
|
+
type: String,
|
|
52
|
+
default: ''
|
|
53
|
+
},
|
|
49
54
|
closeOnClickModal: {
|
|
50
55
|
type: Boolean,
|
|
51
56
|
default: false
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<template>
|
|
3
3
|
<el-drawer
|
|
4
4
|
v-bind="$attrs"
|
|
5
|
+
:title="title"
|
|
5
6
|
:close-on-click-modal="false"
|
|
6
7
|
:visible.sync="visible"
|
|
7
8
|
:size="width"
|
|
@@ -45,6 +46,10 @@ export default {
|
|
|
45
46
|
type: Boolean,
|
|
46
47
|
default: false
|
|
47
48
|
},
|
|
49
|
+
title: {
|
|
50
|
+
type: String,
|
|
51
|
+
default: ''
|
|
52
|
+
},
|
|
48
53
|
showButton: {
|
|
49
54
|
type: Boolean,
|
|
50
55
|
default: true
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
:class="{ 'custom-form-item-top': item.direction === 'vertical' || direction === 'vertical' }"
|
|
24
24
|
:label="item.label"
|
|
25
25
|
:prop="item.prop"
|
|
26
|
-
:label-width="item.direction === 'line' ? (item.labelWidth || labelWidth) : '100%'"
|
|
26
|
+
:label-width="(item.direction === 'line' || direction === 'line') ? (item.labelWidth || labelWidth) : '100%'"
|
|
27
27
|
:rules="item.rules || (item.required ? [{ required: true, message: placeholder(item) }] : null)"
|
|
28
28
|
v-bind="item.itemProps"
|
|
29
29
|
>
|