feat: add ample demos to @pureadmin/table (#379)

* feat: add ample demos to @pureadmin/table
This commit is contained in:
RealityBoy
2022-11-21 11:42:33 +08:00
committed by GitHub
parent 8ff242ea45
commit 9b62d6ef1e
46 changed files with 1859 additions and 48 deletions

4
types/global.d.ts vendored
View File

@@ -7,6 +7,7 @@ import type {
} from "vue";
import type { ECharts } from "echarts";
import { type ResponsiveStorage } from "./index";
import type { TableColumns } from "@pureadmin/table";
// GlobalComponents for Volar
declare module "vue" {
@@ -126,6 +127,9 @@ declare global {
$config: ServerConfigs;
}
// 继承 @pureadmin/table 的 TableColumns方便全局直接调用
declare interface TableColumnList extends Array<TableColumns> {}
function parseInt(s: string | number, radix?: number): number;
function parseFloat(string: string | number): number;