@ddwl/ddwl-ui 1.0.13 → 1.0.14
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 +9 -0
- package/package.json +1 -1
- package/src/lib/slots/file.vue +2 -2
- package/src/lib/slots/icon.vue +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [1.0.14](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.13...v1.0.14) (2025-07-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* slots文件props参数修改 ([d576f1b](https://121.40.23.60:51888/frontend/ddwl-ui/commits/d576f1b86353f4201f1e72674d4369c80f03a156))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [1.0.13](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.12...v1.0.13) (2025-07-04)
|
|
2
11
|
|
|
3
12
|
|
package/package.json
CHANGED
package/src/lib/slots/file.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- 文件slot -->
|
|
2
2
|
<template>
|
|
3
3
|
<!-- eslint-disable-next-line vue/no-mutating-props -->
|
|
4
|
-
<file-upload v-model="row[
|
|
4
|
+
<file-upload v-model="row[prop]" readonly />
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<script>
|
|
@@ -16,7 +16,7 @@ export default {
|
|
|
16
16
|
type: Object,
|
|
17
17
|
default: () => ({})
|
|
18
18
|
},
|
|
19
|
-
|
|
19
|
+
prop: {
|
|
20
20
|
type: String,
|
|
21
21
|
default: ''
|
|
22
22
|
}
|
package/src/lib/slots/icon.vue
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<!-- iconfont -->
|
|
10
10
|
<i v-else class="icon-iconfont" :style="{ color }" :class="`${icon}`"></i>
|
|
11
11
|
</div>
|
|
12
|
-
<span class="icon-content">{{ row[
|
|
12
|
+
<span class="icon-content">{{ row[prop] }}</span>
|
|
13
13
|
</div>
|
|
14
14
|
</template>
|
|
15
15
|
|
|
@@ -24,7 +24,7 @@ export default {
|
|
|
24
24
|
type: Object,
|
|
25
25
|
default: () => ({})
|
|
26
26
|
},
|
|
27
|
-
|
|
27
|
+
prop: {
|
|
28
28
|
type: String,
|
|
29
29
|
default: ''
|
|
30
30
|
},
|