mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Menu.php
This commit is contained in:
parent
2850818e29
commit
331b1aad1a
@ -54,7 +54,7 @@ class Menu extends Controller
|
||||
{
|
||||
foreach ($data as &$vo) {
|
||||
if ($vo['url'] !== '#') {
|
||||
$vo['url'] = url($vo['url']) . (empty($vo['params']) ? '' : "?{$vo['params']}");
|
||||
$vo['url'] = trim(url($vo['url']) . (empty($vo['params']) ? '' : "?{$vo['params']}"), '/\\');
|
||||
}
|
||||
$vo['ids'] = join(',', DataExtend::getArrSubIds($data, $vo['id']));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user