cosey 0.3.12 → 0.3.13

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.
@@ -123,6 +123,9 @@ var stdin_default = /* @__PURE__ */defineComponent({
123
123
  };
124
124
  const flattedColumns = computed(() => flatColumns(props.columns));
125
125
  const tableData = ref(props.data || []);
126
+ watch(() => props.data, () => {
127
+ tableData.value = props.data || [];
128
+ });
126
129
  const tableDataWithSummary = computed(() => {
127
130
  const columns = flattedColumns.value.map(column => {
128
131
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosey",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "基于 Vue3 + vite 的后台管理系统框架",
5
5
  "type": "module",
6
6
  "main": "index.js",