lbq
14 小时以前 56ca28233a84c5aa3ca93cae266b2d008ea348e1
rsf-admin/src/page/system/role/AssignPermissions.jsx
@@ -12,15 +12,17 @@
const DEFAULT_EXPAND_ALL = true;
const AssignPermissions = (props) => {
    const { role, originMenuIds, setDrawerVal, closeCallback } = props;
    const { role, originMenuIds, setDrawerVal, closeCallback, authType } = props;
    const translate = useTranslate();
    const notify = useNotify();
    console.log("authType"+authType)
    const [loading, setLoading] = useState(false);
    const [treeData, setTreeData] = useState([]);
    const [selectedItems, setSelectedItems] = useState([]);
    const [expandedItems, setExpandedItems] = useState([]);
    const [parmas, setParmas] = useState({ condition: '' });
    const [parmas, setParmas] = useState({ condition: '', authType: authType });
    const toggledItemRef = useRef({});
    const apiRef = useTreeViewApiRef();