diff --git a/application/admin/library/Auth.php b/application/admin/library/Auth.php index 4bd10a5cb45079496208a1fd3a65c9cc24873bdf..011f319d88ae4e3759d9811f5b69905f14b943e6 100644 --- a/application/admin/library/Auth.php +++ b/application/admin/library/Auth.php @@ -476,7 +476,7 @@ class Auth extends \fast\Auth ); $current = in_array($item['id'], $selectParentIds); $url = $childList ? 'javascript:;' : $item['url']; - $addtabs = $childList || !$url ? "" : (stripos($url, "?") !== false ? "&" : "?") . "ref=addtabs"; + $addtabs = $childList || !$url ? "" : (stripos($url, "?") !== false ? "&" : "?") . "ref".$item['menutype']; $childList = str_replace( '" pid="' . $item['id'] . '"', ' ' . ($current ? '' : 'hidden') . '" pid="' . $item['id'] . '"',