feat: Update table column type to support Naive UI column title rendering

直接使用了 Naive UI column title 的类型
This commit is contained in:
PED 2025-02-28 09:42:10 +08:00 committed by GitHub
parent e97b905ae5
commit 28184d5d6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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;
};