@ddwl/ddwl-ui 1.0.6 → 1.0.8
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 +18 -0
- package/package.json +4 -1
- package/src/lib/slots/dict.vue +3 -2
- package/src/lib/slots/file.vue +1 -0
- package/src/lib/slots/icon.vue +2 -1
- package/src/main.js +2 -1
- package/src/packages/dialog/index.vue +3 -3
- package/src/packages/drawer/index.vue +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## [1.0.8](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.7...v1.0.8) (2025-07-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* slot name修改 ([c0789c5](https://121.40.23.60:51888/frontend/ddwl-ui/commits/c0789c5583fbe55de63c01f2f9dbb36c038765b2))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [1.0.7](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.6...v1.0.7) (2025-07-04)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* 字典参数绑定 ([0ea73e5](https://121.40.23.60:51888/frontend/ddwl-ui/commits/0ea73e5924b0dae3b9b8d3b58ed93f9a7121af6f))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
1
19
|
## [1.0.6](https://121.40.23.60:51888/frontend/ddwl-ui/compare/v1.0.5...v1.0.6) (2025-07-04)
|
|
2
20
|
|
|
3
21
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ddwl/ddwl-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
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,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<script>
|
|
7
7
|
export default {
|
|
8
|
+
// eslint-disable-next-line vue/multi-word-component-names
|
|
8
9
|
name: 'Dict',
|
|
9
10
|
components: {},
|
|
10
11
|
props: {
|
|
@@ -29,10 +30,10 @@ export default {
|
|
|
29
30
|
computed: {
|
|
30
31
|
dictText () {
|
|
31
32
|
if (Array.isArray(this.row[this.props])) {
|
|
32
|
-
const result = this.$enum.getLabels(this.code, this.row[this.props])
|
|
33
|
+
const result = this.$DDWL.enum.getLabels(this.code, this.row[this.props])
|
|
33
34
|
return result?.length ? result.join(',') : ''
|
|
34
35
|
} else {
|
|
35
|
-
return this.$enum.getLabel(this.code, this.row[this.props])
|
|
36
|
+
return this.$DDWL.enum.getLabel(this.code, this.row[this.props])
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
},
|
package/src/lib/slots/file.vue
CHANGED
package/src/lib/slots/icon.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>
|