@idmwx/idmui-gl4 0.9.2 → 0.9.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 +4 -3
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8255,6 +8255,7 @@ const Cs = {
|
|
|
8255
8255
|
}
|
|
8256
8256
|
},
|
|
8257
8257
|
mounted() {
|
|
8258
|
+
console.log(this.form.dateTime);
|
|
8258
8259
|
},
|
|
8259
8260
|
methods: {
|
|
8260
8261
|
handleMenuToggle() {
|
|
@@ -8270,7 +8271,7 @@ const Cs = {
|
|
|
8270
8271
|
lng: this.form.lng
|
|
8271
8272
|
};
|
|
8272
8273
|
const i = D();
|
|
8273
|
-
((o = D(this.realTime)) == null ? void 0 : o.diff(i, "d", !0)) >= 0 ? await this.fetchMeteoData(this.form) : await this.fetchHistoryData(this.form)
|
|
8274
|
+
((o = D(this.realTime)) == null ? void 0 : o.diff(i, "d", !0)) >= 0 ? await this.fetchMeteoData(this.form) : await this.fetchHistoryData(this.form);
|
|
8274
8275
|
}
|
|
8275
8276
|
});
|
|
8276
8277
|
},
|
|
@@ -8308,7 +8309,7 @@ const Cs = {
|
|
|
8308
8309
|
Authorization: this.token || this.defaultMeteoToken
|
|
8309
8310
|
}
|
|
8310
8311
|
});
|
|
8311
|
-
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data), this.loading = !1;
|
|
8312
|
+
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.initTableData(this.meteoData), this.handleRender()), this.loading = !1;
|
|
8312
8313
|
},
|
|
8313
8314
|
async fetchHistoryData(t) {
|
|
8314
8315
|
this.loading = !0, this.meteoData = [];
|
|
@@ -8325,7 +8326,7 @@ const Cs = {
|
|
|
8325
8326
|
Authorization: this.token || this.defaultMeteoToken
|
|
8326
8327
|
}
|
|
8327
8328
|
});
|
|
8328
|
-
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data), this.loading = !1;
|
|
8329
|
+
(a == null ? void 0 : a.data.code) === 0 && (this.meteoData = a == null ? void 0 : a.data.data, this.initTableData(this.meteoData), this.handleRender()), this.loading = !1;
|
|
8329
8330
|
},
|
|
8330
8331
|
initTableData(t) {
|
|
8331
8332
|
var o, i, a, r, s, n, c, g, p, d, f, z, x, S, C, N, M, L, v, _, P, k, R, V, X, q, Y, $, ee, Q, se, de, pe, me, K, ie, F, le, fe, xe, ve;
|