@idmwx/idmui-gl4 2.4.1 → 2.4.2
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 +2 -2
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13481,7 +13481,7 @@ const Km = {
|
|
|
13481
13481
|
},
|
|
13482
13482
|
async fetchData() {
|
|
13483
13483
|
var o;
|
|
13484
|
-
this.form.lat = (Number(this.form.latDegree ?? 0) + Number(this.form.latMinute ?? 0) / 60) * (this.form.latDirection === "N" ? 1 : -1), this.form.lng = (Number(this.form.lngDegree ?? 0) + Number(this.form.lngMinute ?? 0) / 60) * (this.form.lngDirection === "E" ? 1 : -1);
|
|
13484
|
+
this.form.lat = (Number(this.form.latDegree ?? 0) + Number(this.form.latMinute ?? 0) / 60) * (this.form.latDirection === "N" ? 1 : -1), this.form.lng = (Number(this.form.lngDegree ?? 0) + Number(this.form.lngMinute ?? 0) / 60) * (this.form.lngDirection === "E" ? 1 : -1), console.log(this.form);
|
|
13485
13485
|
const t = S();
|
|
13486
13486
|
((o = S(this.realTime)) == null ? void 0 : o.diff(t, "d", !0)) >= 0 ? await this.fetchForecastData(this.form) : await this.fetchHistoryData(this.form);
|
|
13487
13487
|
},
|
|
@@ -13548,7 +13548,7 @@ const Km = {
|
|
|
13548
13548
|
handleGetPosition(t) {
|
|
13549
13549
|
if (console.log(t), isNaN(t.lat) || isNaN(t.lng))
|
|
13550
13550
|
return !1;
|
|
13551
|
-
this.form.latDegree = Number(q.lat2pretty(t.lat).degree), this.form.latMinute = Number(q.lat2pretty(t.lat).minute), this.form.latDirection = q.lat2pretty(t.lat).direction, this.form.lngDegree = Number(q.lng2pretty(t.lng).degree), this.form.lngMinute = Number(q.lng2pretty(t.lng).minute), this.form.lngDirection = q.lng2pretty(t.lng).direction;
|
|
13551
|
+
this.form.latDegree = Number(q.lat2pretty(t.lat).degree), this.form.latMinute = Number(q.lat2pretty(t.lat).minute), this.form.latDirection = q.lat2pretty(t.lat).direction, this.form.lngDegree = Number(q.lng2pretty(t.lng).degree), this.form.lngMinute = Number(q.lng2pretty(t.lng).minute), this.form.lngDirection = q.lng2pretty(t.lng).direction, console.log(this.form);
|
|
13552
13552
|
},
|
|
13553
13553
|
handleDrawInfoMarker(t) {
|
|
13554
13554
|
this.drawPositionMarker(t), this.simple || this.drawMeteoInfoMarker(t);
|