|
@@ -22,7 +22,7 @@ const SetPermission = ({ ID, activeKey }) => {
|
|
|
}
|
|
|
)
|
|
|
const handleOnchange = e => {
|
|
|
- setState({ ...state, checkValue: e[0] })
|
|
|
+ setState({ ...state, checkValue: e })
|
|
|
}
|
|
|
const handleSubmit = () => {
|
|
|
trySetRolePermission({ ID, frontPermission: state.checkValue })
|