mirror of https://gitee.com/karson/fastadmin.git
fix the weigh of menu
parent
d3a1c3978e
commit
3c17401985
|
|
@ -23,7 +23,7 @@ class Menu
|
||||||
} else {
|
} else {
|
||||||
$pid = $parent;
|
$pid = $parent;
|
||||||
}
|
}
|
||||||
$allow = array_flip(['file', 'name', 'title', 'icon', 'condition', 'remark', 'ismenu']);
|
$allow = array_flip(['file', 'name', 'title', 'icon', 'condition', 'remark', 'ismenu', 'weigh']);
|
||||||
foreach ($menu as $k => $v) {
|
foreach ($menu as $k => $v) {
|
||||||
$hasChild = isset($v['sublist']) && $v['sublist'] ? true : false;
|
$hasChild = isset($v['sublist']) && $v['sublist'] ? true : false;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue