Commit 97674bd1 authored by 皮倩雯's avatar 皮倩雯

fix: '权限组件优化'

parent 93202080
Pipeline #56827 waiting for manual action with stages
......@@ -437,11 +437,11 @@ const RMSComponents = props => {
setSelected(hhh);
};
const onCheckAllChange = e => {
// setCheckedList(e.target.checked ? plainOptions : []);
setIndeterminate(false);
setCheckAll(e.target.checked);
};
// const onCheckAllChange = e => {
// // setCheckedList(e.target.checked ? plainOptions : []);
// setIndeterminate(false);
// setCheckAll(e.target.checked);
// };
return (
<div className={styles.modalContainer}>
......@@ -483,14 +483,14 @@ const RMSComponents = props => {
<div className={styles.checkContent}>
{emptyValue == 0 ? (
<div className={styles.check}>
<Checkbox
{/* <Checkbox
indeterminate={indeterminate}
onChange={onCheckAllChange}
checked={checkAll}
>
Check all
</Checkbox>
<Divider />
</Checkbox> */}
{/* <Divider /> */}
<CheckboxGroup
options={optionValue['角色']}
value={checkedList[0]}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment