@idmui/spot 0.8.2 → 0.8.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.
@@ -13873,7 +13873,7 @@ function(t) {
13873
13873
  */
13874
13874
  function(t) {
13875
13875
  function A() {
13876
- return (he.canvg ? Promise.resolve(he.canvg) : import("./index.es-9a02f466.js")).catch(function(e) {
13876
+ return (he.canvg ? Promise.resolve(he.canvg) : import("./index.es-8a1848c9.js")).catch(function(e) {
13877
13877
  return Promise.reject(new Error("Could not load canvg: " + e));
13878
13878
  }).then(function(e) {
13879
13879
  return e.default ? e.default : e;
@@ -15017,7 +15017,9 @@ const sm = {
15017
15017
  }
15018
15018
  }).then((t) => {
15019
15019
  var A;
15020
- ((A = t.data) == null ? void 0 : A.code) === 0 && (this.showFollowDialog = !1, this.searchName = "", this.followItem = void 0, this.followRemark = "", this.position.followId = void 0, this.position.remark = "", this.fetchMyFollows());
15020
+ ((A = t.data) == null ? void 0 : A.code) === 0 ? (this.showFollowDialog = !1, this.searchName = "", this.followItem = void 0, this.followRemark = "", this.position.followId = void 0, this.position.remark = "", this.fetchMyFollows()) : (this.showFollowDialog = !1, this.$message.error("followed failed !"));
15021
+ }).catch(() => {
15022
+ this.showFollowDialog = !1, this.$message.error("unfollowed failed !");
15021
15023
  });
15022
15024
  else {
15023
15025
  const t = {
@@ -15032,7 +15034,9 @@ const sm = {
15032
15034
  }
15033
15035
  }).then((A) => {
15034
15036
  var e, r, n;
15035
- ((e = A.data) == null ? void 0 : e.code) === 0 && (this.showFollowDialog = !1, this.position.remark = this.followRemark, this.position.followId = (n = (r = A.data) == null ? void 0 : r.data) == null ? void 0 : n.id, this.fetchMyFollows());
15037
+ ((e = A.data) == null ? void 0 : e.code) === 0 ? (this.showFollowDialog = !1, this.position.remark = this.followRemark, this.position.followId = (n = (r = A.data) == null ? void 0 : r.data) == null ? void 0 : n.id, this.fetchMyFollows()) : (this.showFollowDialog = !1, this.$message.error("followed failed !"));
15038
+ }).catch(() => {
15039
+ this.showFollowDialog = !1, this.$message.error("followed failed !");
15036
15040
  });
15037
15041
  }
15038
15042
  },
@@ -18658,7 +18662,7 @@ function Xv(t, A, e, r, n, i) {
18658
18662
  }, 8, ["modelValue", "title"])
18659
18663
  ]);
18660
18664
  }
18661
- const Vv = /* @__PURE__ */ nh(sm, [["render", Xv], ["__scopeId", "data-v-d60213b5"]]), JC = {
18665
+ const Vv = /* @__PURE__ */ nh(sm, [["render", Xv], ["__scopeId", "data-v-03438734"]]), JC = {
18662
18666
  install(t) {
18663
18667
  t.component("SpotWeather", Vv);
18664
18668
  }
@@ -1,4 +1,4 @@
1
- import { _ as za } from "./index-ead38f48.js";
1
+ import { _ as za } from "./index-f25a63be.js";
2
2
  import "moment";
3
3
  import "moment-timezone";
4
4
  import "@element-plus/icons-vue";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as s, b as g, a as h, S as l } from "./index-ead38f48.js";
1
+ import { c as s, b as g, a as h, S as l } from "./index-f25a63be.js";
2
2
  import "moment";
3
3
  import "moment-timezone";
4
4
  import "@element-plus/icons-vue";