改名
This commit is contained in:
@@ -435,13 +435,14 @@ class Node extends HttpService
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$search = 'node_' . $search;
|
||||||
if (isset($this->childes[$search])) {
|
if (isset($this->childes[$search])) {
|
||||||
return $this->childes[$search];
|
return $this->childes[$search];
|
||||||
}
|
}
|
||||||
|
|
||||||
$_searchMatch = '/<(\w+)?:(.+)?>/';
|
$_searchMatch = '/<(\w+)?:(.+)?>/';
|
||||||
foreach ($this->childes as $key => $val) {
|
foreach ($this->childes as $key => $val) {
|
||||||
$key = 'node_' . $key;
|
|
||||||
if (preg_match($_searchMatch, $key, $match)) {
|
if (preg_match($_searchMatch, $key, $match)) {
|
||||||
Input()->addGetParam($match[1] ?? '--', $search);
|
Input()->addGetParam($match[1] ?? '--', $search);
|
||||||
return $this->childes[$key];
|
return $this->childes[$key];
|
||||||
|
|||||||
Reference in New Issue
Block a user