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({
|