slw 0.5.964 → 0.5.965

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/lib/index.js CHANGED
@@ -8281,12 +8281,12 @@ assign$1(XEUtils, {
8281
8281
  cookie
8282
8282
  });
8283
8283
  var xeUtils = XEUtils;
8284
- const XEUtils$1 = /* @__PURE__ */ getDefaultExportFromCjs(xeUtils), windowGrid_vue_vue_type_style_index_0_scoped_3c299fd2_lang = "", _export_sfc = (Q, H) => {
8284
+ const XEUtils$1 = /* @__PURE__ */ getDefaultExportFromCjs(xeUtils), windowGrid_vue_vue_type_style_index_0_scoped_578ec4ba_lang = "", _export_sfc = (Q, H) => {
8285
8285
  const G = Q.__vccOpts || Q;
8286
8286
  for (const [X, Z] of H)
8287
8287
  G[X] = Z;
8288
8288
  return G;
8289
- }, _withScopeId$2 = (Q) => (pushScopeId("data-v-3c299fd2"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
8289
+ }, _withScopeId$2 = (Q) => (pushScopeId("data-v-578ec4ba"), Q = Q(), popScopeId(), Q), _hoisted_1$kW = {
8290
8290
  class: "slw-window-grid-container",
8291
8291
  style: { height: "100%" }
8292
8292
  }, _hoisted_2$kS = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-main-area" }, null, -1)), _hoisted_3$hT = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-active-area" }, null, -1)), _hoisted_4$au = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("span", { class: "vxe-table--cell-copy-area" }, null, -1)), _hoisted_5$4U = [
@@ -8480,10 +8480,7 @@ const XEUtils$1 = /* @__PURE__ */ getDefaultExportFromCjs(xeUtils), windowGrid_v
8480
8480
  }
8481
8481
  }), pe > ce && (ce = pe);
8482
8482
  }), gridData.value.columns.forEach((he) => {
8483
- if (he.colId == "_operation_" && he.title == "操作") {
8484
- he.width = ce * 50;
8485
- return;
8486
- }
8483
+ he.colId == "_operation_" && he.title == "操作" && (he.width = ce * 50), he.visible === !0 && he.width && (he.width = null);
8487
8484
  }), getCurRegion().loadColumn(gridData.value.columns), ae.data.data.length > rowIndex.value ? le = ae.data.data[rowIndex.value] : le = ae.data.data[0];
8488
8485
  const de = getCurRegion();
8489
8486
  if (de) {
@@ -9665,7 +9662,7 @@ const XEUtils$1 = /* @__PURE__ */ getDefaultExportFromCjs(xeUtils), windowGrid_v
9665
9662
  ]);
9666
9663
  };
9667
9664
  }
9668
- }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-3c299fd2"]]);
9665
+ }, WindowGrid = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-578ec4ba"]]);
9669
9666
  WindowGrid.name = "slw-window-grid";
9670
9667
  WindowGrid.install = (Q) => {
9671
9668
  Q.component(WindowGrid.name, WindowGrid);