@idmwx/idmui-gl4 1.4.2 → 1.4.3
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/dist/index.js
CHANGED
|
@@ -11621,8 +11621,9 @@ const Kc = {
|
|
|
11621
11621
|
},
|
|
11622
11622
|
dateTime: {
|
|
11623
11623
|
handler(t, e) {
|
|
11624
|
-
t
|
|
11625
|
-
}
|
|
11624
|
+
t && this.handleResetDateTime(this.dateTime);
|
|
11625
|
+
},
|
|
11626
|
+
immediate: !0
|
|
11626
11627
|
},
|
|
11627
11628
|
currentTimestamp: {
|
|
11628
11629
|
handler() {
|
|
@@ -11637,12 +11638,12 @@ const Kc = {
|
|
|
11637
11638
|
}
|
|
11638
11639
|
},
|
|
11639
11640
|
mounted() {
|
|
11640
|
-
this.
|
|
11641
|
+
this.timer = setInterval(() => {
|
|
11641
11642
|
this.currentRealTime = `${D.tz(D().unix() * 1e3, this.timeZoneName).clone().format("HH:mm")}`;
|
|
11642
11643
|
}, 100);
|
|
11643
11644
|
},
|
|
11644
11645
|
unmounted() {
|
|
11645
|
-
clearInterval(this.timer);
|
|
11646
|
+
clearInterval(this.timer), this.handleCancelDate();
|
|
11646
11647
|
},
|
|
11647
11648
|
methods: {
|
|
11648
11649
|
handleReset() {
|
|
@@ -13210,6 +13211,13 @@ const Tm = {
|
|
|
13210
13211
|
t !== e && (this.$emit("timeZone", this.timeZone), localStorage.setItem("idm-timeZone-gl4", this.timeZone), this.showTimezone = !1);
|
|
13211
13212
|
},
|
|
13212
13213
|
immediate: !0
|
|
13214
|
+
},
|
|
13215
|
+
show: {
|
|
13216
|
+
handler() {
|
|
13217
|
+
var t;
|
|
13218
|
+
Object.values(this.show).includes(!0) || (t = this.$refs.dateTimePicker) == null || t.handleCancelDate();
|
|
13219
|
+
},
|
|
13220
|
+
deep: !0
|
|
13213
13221
|
}
|
|
13214
13222
|
},
|
|
13215
13223
|
mounted() {
|