@weitutech/by-components-v3 1.1.5 → 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();
|
|
@@ -37057,7 +37062,6 @@ const ByTable = /* @__PURE__ */ defineComponent({
|
|
|
37057
37062
|
}
|
|
37058
37063
|
}
|
|
37059
37064
|
}
|
|
37060
|
-
originColumns.value = deepClone(result);
|
|
37061
37065
|
const newColumns = replaceColumnWidthToColumns(props.name, result);
|
|
37062
37066
|
setHasCache();
|
|
37063
37067
|
emit("setColumns", newColumns);
|