浏览代码

dev 2020-04

Max F 5 年之前
父节点
当前提交
d91bdedfd3
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      src/Routing/Route.php

+ 1 - 5
src/Routing/Route.php

@@ -247,13 +247,9 @@ class Route
 					}
 					//pre($args, 1);
 
-					if (! empty($this->matched_prefix)) {
-						$matched_params = array_merge($matched_params, $args);
-						//$matched_params['prefix'] = $this->matched_prefix;
-					}
+					$matched_params = array_merge($matched_params, $args);
 					//pre($matched_params, 1);
 
-
 					$this->setMatchedParams($matched_params);
 					return true;
 				}