This commit is contained in:
xiaojunnuo
2024-10-10 14:07:11 +08:00
parent 0a9ec06fe7
commit cbd6abb29d
3 changed files with 12 additions and 5 deletions
@@ -59,7 +59,10 @@ export function getCommonColumnDefine(crudExpose: any, typeRef: any) {
show: false
},
column: {
width: 120
width: 200,
component: {
color: "auto"
}
},
form: {
component: {
@@ -51,7 +51,7 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
key: "id",
type: "number",
column: {
width: 50
width: 100
},
form: {
show: false
@@ -65,6 +65,9 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
},
form: {
rules: [{ required: true, message: "必填项" }]
},
column: {
width: 300
}
},
...commonColumnsDefine