@weitutech/by-components-v3 1.1.4 → 1.1.5

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.
@@ -37014,7 +37014,6 @@ const ByTable = /* @__PURE__ */ defineComponent({
37014
37014
  CustomColumnRef.value.dialogVisible = true;
37015
37015
  };
37016
37016
  const changeTableFields = (cols) => {
37017
- originColumns.value = deepClone(cols);
37018
37017
  const noFixedCol = cols.filter((col) => !col.field);
37019
37018
  const result = JSON.parse(JSON.stringify([...cols.filter((col) => col.field === "left")[0].children.map((child) => ({
37020
37019
  ...child,
@@ -37058,6 +37057,7 @@ const ByTable = /* @__PURE__ */ defineComponent({
37058
37057
  }
37059
37058
  }
37060
37059
  }
37060
+ originColumns.value = deepClone(result);
37061
37061
  const newColumns = replaceColumnWidthToColumns(props.name, result);
37062
37062
  setHasCache();
37063
37063
  emit("setColumns", newColumns);