cosey 0.2.23 → 0.2.24

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.
@@ -117,7 +117,12 @@ var stdin_default = /* @__PURE__ */defineComponent({
117
117
  };
118
118
  const tableData = ref(props.data || []);
119
119
  const tableDataWithSummary = computed(() => {
120
- const columns = flatColumns(props.columns);
120
+ const columns = flatColumns(props.columns).map(column => {
121
+ return {
122
+ ...column,
123
+ property: column.prop
124
+ };
125
+ });
121
126
  const data = [...tableData.value];
122
127
  if (props.summaryMethod) {
123
128
  const sum = props.summaryMethod({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosey",
3
- "version": "0.2.23",
3
+ "version": "0.2.24",
4
4
  "description": "基于 Vue3 + vite 的后台管理系统框架",
5
5
  "type": "module",
6
6
  "main": "index.js",