角色 是否默认角色

This commit is contained in:
wyw 2026-04-16 11:10:16 +08:00
parent ea8b90fdf2
commit 3e8d875a0e

View File

@ -724,6 +724,21 @@ class RoleEditPage extends React.Component {
} }
</Form.Item> </Form.Item>
</Col> </Col>
<Col span={12}>
<Form.Item label={'默认角色'}>
{
getFieldDecorator('ISDEFAULT', {
validateTrigger: 'onBlur',
initialValue: (this.state.data.ISDEFAULT ? this.state.data.ISDEFAULT.toString() : 'false'),
})(
<Select placeholder='数据类型'>
<Option value='false'></Option>
<Option value='true'></Option>
</Select>
)
}
</Form.Item>
</Col>
<Col span={12}> <Col span={12}>
<Form.Item label={'备注'}> <Form.Item label={'备注'}>
{ {