mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2025-12-30 09:42:25 +00:00
* chore: wip vxe-table * feat: add table demo * chore: follow ci recommendations to adjust details * chore: add custom-cell demo * feat: add custom-cell table demo * feat: add table from demo
19 lines
387 B
TypeScript
19 lines
387 B
TypeScript
import { requestClient } from '#/api/request';
|
|
|
|
export namespace DemoTableApi {
|
|
export interface PageFetchParams {
|
|
[key: string]: any;
|
|
page: number;
|
|
pageSize: number;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* 获取示例表格数据
|
|
*/
|
|
async function getExampleTableApi(params: DemoTableApi.PageFetchParams) {
|
|
return requestClient.get('/table/list', { params });
|
|
}
|
|
|
|
export { getExampleTableApi };
|