gp-designer 1.0.27 → 1.0.29

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.
@@ -10343,7 +10343,7 @@ const Wt = /* @__PURE__ */ ft(Pd, [["render", Fd], ["__scopeId", "data-v-68b8f27
10343
10343
  return;
10344
10344
  }
10345
10345
  if (s.value.type === z.Text) {
10346
- if (s.value.rule.minText > s.value.rule.maxText) {
10346
+ if (Number(s.value.rule.minText) > Number(s.value.rule.maxText)) {
10347
10347
  Z.error("最小文本长度不能大于最大文本长度");
10348
10348
  return;
10349
10349
  }
@@ -10353,7 +10353,7 @@ const Wt = /* @__PURE__ */ ft(Pd, [["render", Fd], ["__scopeId", "data-v-68b8f27
10353
10353
  }
10354
10354
  }
10355
10355
  if (s.value.type === z.Block) {
10356
- if (s.value.rule.minBlock > s.value.rule.maxBlock) {
10356
+ if (Number(s.value.rule.minBlock) > Number(s.value.rule.maxBlock)) {
10357
10357
  Z.error("最小块数量不能大于最大块数量");
10358
10358
  return;
10359
10359
  }
@@ -10511,7 +10511,7 @@ const Wt = /* @__PURE__ */ ft(Pd, [["render", Fd], ["__scopeId", "data-v-68b8f27
10511
10511
  }, " 保存 ")
10512
10512
  ]));
10513
10513
  }
10514
- }), tf = /* @__PURE__ */ ft(ef, [["__scopeId", "data-v-0d892d0b"]]);
10514
+ }), tf = /* @__PURE__ */ ft(ef, [["__scopeId", "data-v-7395db8a"]]);
10515
10515
  /*!
10516
10516
  * Cropper.js v1.6.2
10517
10517
  * https://fengyuanchen.github.io/cropperjs
@@ -12382,7 +12382,7 @@ const I1 = /* @__PURE__ */ ft(p1, [["render", C1]]), S1 = { class: "p-4 flex fle
12382
12382
  } else
12383
12383
  (Za = T.value.attrs.class) != null && Za.includes(" mb40 relative") && (T.value.attrs.class = T.value.attrs.class.replace(" mb40 relative", " "));
12384
12384
  }
12385
- Z.success("保存成功");
12385
+ h.value = (/* @__PURE__ */ new Date()).getTime().toString(), Z.success("保存成功");
12386
12386
  }
12387
12387
  }
12388
12388
  function se(_) {
@@ -12625,7 +12625,7 @@ const I1 = /* @__PURE__ */ ft(p1, [["render", C1]]), S1 = { class: "p-4 flex fle
12625
12625
  }, null, 8, ["icons"])
12626
12626
  ]));
12627
12627
  }
12628
- }), F1 = /* @__PURE__ */ ft(U1, [["__scopeId", "data-v-5c255817"]]), $1 = {
12628
+ }), F1 = /* @__PURE__ */ ft(U1, [["__scopeId", "data-v-1ad71a68"]]), $1 = {
12629
12629
  install(e) {
12630
12630
  e.component("Designer", F1);
12631
12631
  }