@tuoyuan/web-plus
Version:
基于arco-design-vue的配置化表格表单组件
16 lines (15 loc) • 485 B
TypeScript
import { TableOption } from '../table/type';
export interface CrudOption extends TableOption {
modalWidth?: number | string;
addBtn?: boolean;
addBtnText?: string;
editBtn?: boolean;
editBtnText?: string;
delBtn?: boolean;
delBtnText?: string;
viewBtn?: boolean;
viewBtnText?: string;
detailSpan?: number;
detailLayout?: 'horizontal' | 'vertical' | 'inline-horizontal' | 'inline-vertical';
}
export type TableMenu = "add" | "edit" | 'view';