Compare commits

...

2 Commits

Author SHA1 Message Date
PED
d5035cb274 Merge 28184d5d6a into a03becdaed 2025-02-28 01:42:13 +00:00
PED
28184d5d6a feat: Update table column type to support Naive UI column title rendering
直接使用了 Naive UI column title 的类型
2025-02-28 09:42:10 +08:00

View File

@@ -1,5 +1,6 @@
import { computed, reactive, ref } from 'vue';
import type { Ref } from 'vue';
import type { DataTableBaseColumn } from 'naive-ui';
import { jsonClone } from '@sa/utils';
import useBoolean from './use-boolean';
import useLoading from './use-loading';
@@ -10,7 +11,7 @@ export type ApiFn = (args: any) => Promise<unknown>;
export type TableColumnCheck = {
key: string;
title: string;
title: DataTableBaseColumn['title'];
checked: boolean;
};