mirror of
https://github.com/certd/certd.git
synced 2026-05-16 21:27:34 +08:00
6ec697b010
refactor: 1.11.0 refactor: 1.11.0 refactor: 1.11.0 refactor: 1.11.0 refactor: ts化 refactor: ts化 feat: 全面TS化 perf: 全面ts化 refactor: 继续优化ts perf: ts定义优化 fix: 修复wangeditor无法上传视频的bug
33 lines
682 B
TypeScript
33 lines
682 B
TypeScript
import { CreateCrudOptionsProps, CreateCrudOptionsRet, uiContext } from "@fast-crud/fast-crud";
|
|
|
|
export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOptionsRet {
|
|
return {
|
|
crudOptions: {
|
|
mode: {
|
|
name: "local",
|
|
isMergeWhenUpdate: true,
|
|
isAppendWhenAdd: true
|
|
},
|
|
search: {
|
|
show: false
|
|
},
|
|
toolbar: {
|
|
show: false
|
|
},
|
|
pagination: {
|
|
show: false
|
|
},
|
|
columns: {
|
|
name: {
|
|
type: "text",
|
|
title: "联系人姓名"
|
|
},
|
|
mobile: {
|
|
type: "text",
|
|
title: "联系人手机号码"
|
|
}
|
|
}
|
|
}
|
|
};
|
|
}
|