Commit 05a9354d authored by “yiyousong”'s avatar “yiyousong”

fix: 修复按角色查询菜单的时候数据回填错误的问题

parent e3800aa9
......@@ -170,7 +170,7 @@ export default {
let result = [];
let getData = (list) => {
list.forEach((item) => {
result.push(item.id);
item.checked && result.push(item.id);
if (item.children && item.children.length > 0) {
getData(item.children);
}
......
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