@ddwl/ddwl-ui 1.0.6 → 1.0.7
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,12 @@
|
|
|
1
|
+
## [1.0.7](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.6...v1.0.7) (2025-07-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 字典参数绑定 ([0ea73e5](https://121.40.23.60:51888/frontend/ddwl-ui/commits/0ea73e5924b0dae3b9b8d3b58ed93f9a7121af6f))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [1.0.6](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.5...v1.0.6) (2025-07-04)
|
|
2
11
|
|
|
3
12
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ddwl/ddwl-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "src/main.js",
|
|
6
6
|
"description": "ddwl组件库",
|
|
7
7
|
"author": "dingshengfei",
|
|
8
8
|
"license": "MIT",
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"registry": "https://registry.npmjs.org"
|
|
11
|
+
},
|
|
9
12
|
"scripts": {
|
|
10
13
|
"dev": "vue-cli-service serve",
|
|
11
14
|
"build": "vue-cli-service build",
|
package/src/lib/slots/dict.vue
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<script>
|
|
7
7
|
export default {
|
|
8
|
-
name: '
|
|
8
|
+
name: 'DictSlot',
|
|
9
9
|
components: {},
|
|
10
10
|
props: {
|
|
11
11
|
row: {
|
|
@@ -29,10 +29,10 @@ export default {
|
|
|
29
29
|
computed: {
|
|
30
30
|
dictText () {
|
|
31
31
|
if (Array.isArray(this.row[this.props])) {
|
|
32
|
-
const result = this.$enum.getLabels(this.code, this.row[this.props])
|
|
32
|
+
const result = this.$DDWL.enum.getLabels(this.code, this.row[this.props])
|
|
33
33
|
return result?.length ? result.join(',') : ''
|
|
34
34
|
} else {
|
|
35
|
-
return this.$enum.getLabel(this.code, this.row[this.props])
|
|
35
|
+
return this.$DDWL.enum.getLabel(this.code, this.row[this.props])
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
},
|
package/src/lib/slots/file.vue
CHANGED
package/src/main.js
CHANGED
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
<div v-if="showButton" class="ar">
|
|
20
20
|
<el-button
|
|
21
21
|
type="primary"
|
|
22
|
-
:icon="
|
|
22
|
+
:icon="submitButtonIcon"
|
|
23
23
|
:loading="loading"
|
|
24
24
|
@click="submit"
|
|
25
25
|
>
|
|
26
|
-
{{
|
|
26
|
+
{{ submitButtonText }}
|
|
27
27
|
</el-button>
|
|
28
28
|
<el-button @click="cancel">
|
|
29
|
-
{{
|
|
29
|
+
{{ cancelButtonText }}
|
|
30
30
|
</el-button>
|
|
31
31
|
</div>
|
|
32
32
|
</template>
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
<div v-if="showButton" class="ar mt16">
|
|
19
19
|
<el-button
|
|
20
20
|
type="primary"
|
|
21
|
-
:icon="
|
|
21
|
+
:icon="submitButtonIcon"
|
|
22
22
|
:loading="loading"
|
|
23
23
|
@click="submit"
|
|
24
24
|
>
|
|
25
|
-
{{
|
|
25
|
+
{{ submitButtonText }}
|
|
26
26
|
</el-button>
|
|
27
27
|
<el-button @click="cancel">
|
|
28
|
-
{{
|
|
28
|
+
{{ cancelButtonText }}
|
|
29
29
|
</el-button>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|