@truenewx/tnxvue3 3.0.0-alpha.18 → 3.0.0-alpha.19
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truenewx/tnxvue3",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.19",
|
|
4
4
|
"description": "互联网技术解决方案:Vue3扩展支持",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"element-plus": "~2.8.0",
|
|
23
|
-
"vue": "~3.
|
|
23
|
+
"vue": "~3.5.0",
|
|
24
24
|
"vue-router": "~4.4.0"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<el-checkbox-group class="tnxel-select tnxel-checkbox-group" v-model="model" :theme="theme" :size="size"
|
|
3
3
|
:disabled="disabled" :key="groupKey" v-if="selector === 'checkbox'">
|
|
4
4
|
<template v-if="items">
|
|
5
|
-
<el-checkbox v-for="item in items" :key="item[valueName]" :
|
|
5
|
+
<el-checkbox v-for="item in items" :key="item[valueName]" :value="item[valueName]"
|
|
6
6
|
:data-value="item[valueName]"
|
|
7
7
|
:disabled="item.disabled === true || typeof item.disabled === 'string'"
|
|
8
8
|
:title="typeof item.disabled === 'string' ? item.disabled : item.title">
|
|
@@ -196,7 +196,7 @@ export default {
|
|
|
196
196
|
},
|
|
197
197
|
emptyValue: {
|
|
198
198
|
type: [String, Number, Boolean, Array],
|
|
199
|
-
default: null
|
|
199
|
+
default: '', // 设为null会告警,暂时先设为空字符,在非字符串类型的情况下是否有问题,有待检验
|
|
200
200
|
},
|
|
201
201
|
emptyClass: String,
|
|
202
202
|
placeholder: String,
|
|
@@ -275,14 +275,6 @@
|
|
|
275
275
|
width: calc(100vw); /* 尽可能撑开,以与高度保持一致 */
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
-
.el-alert {
|
|
279
|
-
margin-bottom: 1rem;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.el-alert.w-100 .el-alert__content {
|
|
283
|
-
width: 100%;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
278
|
.el-form-item {
|
|
287
279
|
margin-bottom: 1rem;
|
|
288
280
|
}
|
|
@@ -300,12 +292,6 @@
|
|
|
300
292
|
padding-right: 1rem;
|
|
301
293
|
}
|
|
302
294
|
|
|
303
|
-
.el-form--label-right .el-form-item__label:before {
|
|
304
|
-
content: '*';
|
|
305
|
-
color: transparent;
|
|
306
|
-
margin-right: 4px;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
295
|
.el-form--label-top .el-form-item__label {
|
|
310
296
|
padding-bottom: 0;
|
|
311
297
|
margin-bottom: 0.25rem;
|
|
@@ -638,8 +624,11 @@ el-card {
|
|
|
638
624
|
}
|
|
639
625
|
|
|
640
626
|
.el-alert {
|
|
641
|
-
|
|
642
|
-
|
|
627
|
+
margin-bottom: 1rem;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.el-alert.w-100 .el-alert__content {
|
|
631
|
+
width: 100%;
|
|
643
632
|
}
|
|
644
633
|
|
|
645
634
|
.el-alert .el-alert__icon {
|