手误
This commit is contained in:
@@ -75,7 +75,7 @@ class PathHttpDatasourceImpl implements PathHttpDatasource {
|
||||
final dataObj = decoded['data'];
|
||||
final pathJson = dataObj is Map ? dataObj['path'] : null;
|
||||
if (pathJson != null) {
|
||||
/ print('✅ [路径规划API] 路径数据点数: ${pathJson is List ? pathJson.length : '非列表'}');
|
||||
print('✅ [路径规划API] 路径数据点数: ${pathJson is List ? pathJson.length : '非列表'}');
|
||||
if (pathJson is! List) {
|
||||
throw Exception('Expected "path" to be a List, but got ${pathJson.runtimeType}');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user