mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-16 06:03:42 +08:00
feat(ui): 新增弹窗及时间格式化
This commit is contained in:
@@ -46,7 +46,7 @@ function useAsyncTable<T extends Record<string, unknown>>(
|
||||
const { data } = await request({
|
||||
...unref(params ?? {}),
|
||||
page: paginationState.current,
|
||||
pageSize: paginationState.pageSize,
|
||||
page_size: paginationState.pageSize,
|
||||
});
|
||||
tableState.data = (data as any)?.items;
|
||||
paginationState.total = (data as any)?.total;
|
||||
|
||||
@@ -5,9 +5,9 @@ import { useTableScroll } from "@/components/SearchTable/utils";
|
||||
import { Message } from "@arco-design/web-vue";
|
||||
import type { TableRequest, TableOriginalProps } from "./useAsyncTable";
|
||||
|
||||
export interface SimpleTable extends TableOriginalProps {
|
||||
export interface SimpleTable extends /* @vue-ignore */ TableOriginalProps {
|
||||
request: TableRequest<Record<string, unknown>>;
|
||||
params: Record<string, unknown>;
|
||||
params?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
const props = defineProps<SimpleTable>();
|
||||
|
||||
Reference in New Issue
Block a user