This commit is contained in:
2021-03-08 16:27:29 +08:00
parent 18138fc2bf
commit ec41d2a2e7
+2 -1
View File
@@ -435,13 +435,14 @@ class Node extends HttpService
return null;
}
$search = 'node_' . $search;
if (isset($this->childes[$search])) {
return $this->childes[$search];
}
$_searchMatch = '/<(\w+)?:(.+)?>/';
foreach ($this->childes as $key => $val) {
$key = 'node_' . $key;
if (preg_match($_searchMatch, $key, $match)) {
Input()->addGetParam($match[1] ?? '--', $search);
return $this->childes[$key];