Commit 7d3ca512 authored by 张烨's avatar 张烨

feat: 功能选择器

parent d1f80bf8
......@@ -143,6 +143,7 @@ const ListCardItem = props => {
<span
className={classnames({
[styles.boldLabel]: isCurrentGroup,
[styles.isSearch]: searchWord && text.includes(searchWord),
})}
>
{text}
......
......@@ -100,7 +100,7 @@ const ListCard = props => {
{true && !loading && dataList && (
<Button
type="primary"
onClick={() => onCommit()}
onClick={() => onCommit(valueList)}
style={{ marginTop: '20px' }}
>
提交
......
......@@ -182,6 +182,7 @@ const SiteManage = () => {
setSubList(valueObj);
};
const handleCommit = value => {
console.log(value);
let arr = Object.values(subList);
setMenuToRole(
qs.stringify({
......
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