@weitutech/by-components-v3 1.1.4 → 1.1.6
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/dist/by-component-v3.mjs
CHANGED
|
@@ -36958,6 +36958,11 @@ const ByTable = /* @__PURE__ */ defineComponent({
|
|
|
36958
36958
|
}
|
|
36959
36959
|
};
|
|
36960
36960
|
});
|
|
36961
|
+
watch(() => props.gridOptions.columns, (newColumns) => {
|
|
36962
|
+
originColumns.value = deepClone(newColumns);
|
|
36963
|
+
}, {
|
|
36964
|
+
deep: true
|
|
36965
|
+
});
|
|
36961
36966
|
const listeners = ref({});
|
|
36962
36967
|
const CustomColumnRef = ref();
|
|
36963
36968
|
const vxeGridRef = ref();
|
|
@@ -37014,7 +37019,6 @@ const ByTable = /* @__PURE__ */ defineComponent({
|
|
|
37014
37019
|
CustomColumnRef.value.dialogVisible = true;
|
|
37015
37020
|
};
|
|
37016
37021
|
const changeTableFields = (cols) => {
|
|
37017
|
-
originColumns.value = deepClone(cols);
|
|
37018
37022
|
const noFixedCol = cols.filter((col) => !col.field);
|
|
37019
37023
|
const result = JSON.parse(JSON.stringify([...cols.filter((col) => col.field === "left")[0].children.map((child) => ({
|
|
37020
37024
|
...child,
|