@cloudbase/weda-ui-mp 3.7.5 → 3.7.6
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.
|
@@ -60,7 +60,14 @@
|
|
|
60
60
|
border: none;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.wd-form
|
|
63
|
+
.wd-form .wd-card__header .wd-form-item-wrap__label.wd-form-obj__label {
|
|
64
|
+
padding: 0;
|
|
65
|
+
}
|
|
66
|
+
.wd-form.wd-pc-form .wd-form-obj-root .wd-form-obj > div > .wd-form-item {
|
|
67
|
+
padding-top: 0;
|
|
68
|
+
margin-top: calc(var(--wd-space-base) * 2.5);
|
|
69
|
+
}
|
|
70
|
+
.wd-form.wd-form--weui .wd-card__header .wd-form-item-wrap__label.wd-form-obj__label {
|
|
64
71
|
padding: 0;
|
|
65
72
|
}
|
|
66
73
|
|
|
@@ -60,7 +60,14 @@
|
|
|
60
60
|
border: none;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.wd-form
|
|
63
|
+
.wd-form .wd-card__header .wd-form-item-wrap__label.wd-form-obj__label {
|
|
64
|
+
padding: 0;
|
|
65
|
+
}
|
|
66
|
+
.wd-form.wd-pc-form .wd-form-obj-root .wd-form-obj > div > .wd-form-item {
|
|
67
|
+
padding-top: 0;
|
|
68
|
+
margin-top: calc(var(--wd-space-base) * 2.5);
|
|
69
|
+
}
|
|
70
|
+
.wd-form.wd-form--weui .wd-card__header .wd-form-item-wrap__label.wd-form-obj__label {
|
|
64
71
|
padding: 0;
|
|
65
72
|
}
|
|
66
73
|
|
|
@@ -544,6 +544,10 @@ Component({
|
|
|
544
544
|
|
|
545
545
|
const readValue = `${toShow}${getPercentUnit(format)}`;
|
|
546
546
|
|
|
547
|
+
if (this.data.isInit) {
|
|
548
|
+
this.setData({ isInit: false });
|
|
549
|
+
}
|
|
550
|
+
|
|
547
551
|
// 避免和focus逻辑冲突,延后一个任务执行赋值
|
|
548
552
|
// eslint-disable-next-line rulesdir/no-timer
|
|
549
553
|
setTimeout(() => {
|
|
@@ -551,7 +555,6 @@ Component({
|
|
|
551
555
|
readValue,
|
|
552
556
|
realValue: toReal,
|
|
553
557
|
showValue: toShow,
|
|
554
|
-
isInit: false,
|
|
555
558
|
});
|
|
556
559
|
}, 0);
|
|
557
560
|
},
|