This commit is contained in:
toly
2023-11-20 20:05:05 +08:00
parent 8de38299e2
commit 6e8d926693
61 changed files with 3107 additions and 65 deletions

View File

@@ -55,8 +55,7 @@ abstract class IRouteNode {
if (node.children.isNotEmpty) {
target = prefix + target;
List<IRouteNode> nodes =
node.children.where((e) => e.path == target).toList();
List<IRouteNode> nodes = node.children.where((e) => e.path == target).toList();
bool match = nodes.isNotEmpty;
if (match) {
IRouteNode matched = nodes.first;