@idmwx/idmui-gl4 1.0.0 → 1.0.1
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 +3 -3
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8265,7 +8265,7 @@ const Cs = {
|
|
|
8265
8265
|
this.showMeteo = !1, (t = this.meteoMarker) == null || t.remove(), this.meteoMarker = void 0, this.$refs.spotForm.validate().then(async (e) => {
|
|
8266
8266
|
var o;
|
|
8267
8267
|
if (e != null && e.valid) {
|
|
8268
|
-
this.
|
|
8268
|
+
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), this.point = {
|
|
8269
8269
|
lat: this.form.lat,
|
|
8270
8270
|
lng: this.form.lng
|
|
8271
8271
|
};
|
|
@@ -8294,7 +8294,7 @@ const Cs = {
|
|
|
8294
8294
|
this.showForm = !1, this.cancelForm(), !this.showForm && !this.showMeteo && (this.toggle = !1), (t = this.positionMarker) == null || t.remove(), this.positionMarker = void 0;
|
|
8295
8295
|
},
|
|
8296
8296
|
async fetchMeteoData(t) {
|
|
8297
|
-
this.loading = !0, this.handleRender([t.lng, t.lat]), this.meteoData = [];
|
|
8297
|
+
this.loading = !0, this.showMeteo = !0, this.handleRender([t.lng, t.lat]), this.meteoData = [];
|
|
8298
8298
|
const { weatherModels: e, marineModels: o } = io.autoPickMeteoModel(t.forecastModel);
|
|
8299
8299
|
let i = {
|
|
8300
8300
|
lat: t.lat,
|
|
@@ -8311,7 +8311,7 @@ const Cs = {
|
|
|
8311
8311
|
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.meteoData.lng = t.lng, this.meteoData.lat = t.lat, this.initTableData(this.meteoData)), this.loading = !1;
|
|
8312
8312
|
},
|
|
8313
8313
|
async fetchHistoryData(t) {
|
|
8314
|
-
this.loading = !0, this.handleRender([t.lng, t.lat]), this.meteoData = [];
|
|
8314
|
+
this.loading = !0, this.showMeteo = !0, this.handleRender([t.lng, t.lat]), this.meteoData = [];
|
|
8315
8315
|
const { weatherModels: e, marineModels: o } = io.autoPickMeteoModel(t.forecastModel), i = {
|
|
8316
8316
|
lat: t.lat,
|
|
8317
8317
|
lng: t.lng,
|