mirror of
https://github.com/certd/certd.git
synced 2026-05-18 22:57:31 +08:00
36 lines
721 B
React
36 lines
721 B
React
|
|
import { uiContext } from "@fast-crud/fast-crud";
|
||
|
|
|
||
|
|
export default function ({ expose }) {
|
||
|
|
return {
|
||
|
|
crudOptions: {
|
||
|
|
mode: {
|
||
|
|
name: "local",
|
||
|
|
isMergeWhenUpdate: true,
|
||
|
|
isAppendWhenAdd: true
|
||
|
|
},
|
||
|
|
actionbar: { buttons: { add: { show: true }, addRow: { show: false } } },
|
||
|
|
editable: {
|
||
|
|
enabled: false,
|
||
|
|
mode: "row",
|
||
|
|
activeTrigger: false
|
||
|
|
},
|
||
|
|
search: {
|
||
|
|
show: false
|
||
|
|
},
|
||
|
|
pagination: {
|
||
|
|
show: false
|
||
|
|
},
|
||
|
|
columns: {
|
||
|
|
name: {
|
||
|
|
type: "text",
|
||
|
|
title: "联系人姓名"
|
||
|
|
},
|
||
|
|
mobile: {
|
||
|
|
type: "text",
|
||
|
|
title: "联系人手机号码"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
};
|
||
|
|
}
|