mirror of https://github.com/openspug/spug
multi role support
parent
150732911e
commit
9205891920
|
@ -53,7 +53,7 @@ export default observer(function () {
|
|||
<Input type="password" placeholder="请输入密码"/>
|
||||
</Form.Item>
|
||||
<Form.Item hidden={store.record.is_supper} label="角色" style={{marginBottom: 0}}>
|
||||
<Form.Item name="role_ids" style={{display: 'inline-block', width: '80%'}}>
|
||||
<Form.Item name="role_ids" style={{display: 'inline-block', width: '80%'}} help="权限最大化原则,组合多个角色权限。">
|
||||
<Select mode="multiple" placeholder="请选择">
|
||||
{roleStore.records.map(item => (
|
||||
<Select.Option value={item.id} key={item.id}>{item.name}</Select.Option>
|
||||
|
|
Loading…
Reference in New Issue