yh-report 2.0.8 → 2.0.9

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.
@@ -3,7 +3,7 @@ import { ElMessage as Ln, ElEmpty as Dm, ElDialog as Zf, ElFormItem as he, ElInp
3
3
  import { useRoute as Af, onBeforeRouteLeave as Im } from "vue-router";
4
4
  import { useFullscreen as Gm } from "@vueuse/core";
5
5
  import { defineStore as jm, storeToRefs as Dt } from "pinia";
6
- import { b as Fm, s as Hm, C as ee, F as Re, r as Km, e as Jm, f as eg, _ as tg, D as Ei, p as ig, h as Vf, i as ng, j as sg, T as rg, k as og, I as lg, l as ag, v as hg } from "./index-1e2fd643.mjs";
6
+ import { b as Fm, s as Hm, C as ee, F as Re, r as Km, e as Jm, f as eg, _ as tg, D as Ei, p as ig, h as Vf, i as ng, j as sg, T as rg, k as og, I as lg, l as ag, v as hg } from "./index-f102cf35.mjs";
7
7
  import { cloneDeep as Ol, set as ni, get as ug } from "lodash-es";
8
8
  import "@/libs/api.request.js";
9
9
  import "echarts";
@@ -299,12 +299,11 @@ const Lt = function() {
299
299
  let A = z.target;
300
300
  if (A = A == null ? void 0 : A.closest(".del"), A && A.dataset) {
301
301
  z.stopPropagation();
302
- const { type: v, index: q } = A.dataset;
303
- switch (v) {
304
- case "params":
305
- f.value.params && f.value.params.splice(q, 1);
306
- break;
307
- }
302
+ let { type: v, index: q } = A.dataset;
303
+ const Y = Number(q);
304
+ if (!Number.isInteger(Y))
305
+ return;
306
+ v === "params" && f.value && Array.isArray(f.value.params) && f.value.params.splice(Y, 1);
308
307
  }
309
308
  }
310
309
  const g = ue();
@@ -27659,4 +27658,4 @@ const Fw = { class: "statement-design-top" }, Hw = { class: "statement-name" },
27659
27658
  export {
27660
27659
  xk as default
27661
27660
  };
27662
- //# sourceMappingURL=StatementDesign-a78008d8.mjs.map
27661
+ //# sourceMappingURL=StatementDesign-d556a432.mjs.map