daxu0403 7 年之前
父节点
当前提交
3ad628b7df
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/pages/order_taking_page.dart

+ 2 - 2
lib/pages/order_taking_page.dart

@@ -99,8 +99,8 @@ class _OrderTakingPageState extends State < OrderTakingPage > with AutomaticKeep
         setState(() {
           checkStatusList = [];
           lineList = StationLine.fromJson(resp.data).data;
-          LineObj tempLine =LineObj(code:'xxxx',id:-1,name:'未知线路');
-          lineList.add(tempLine);
+          LineObj tempLine =LineObj(code:'xxxx',id:-1,name:'未知线路');//创建未知线路
+          lineList.add(tempLine);//添加未知线路
           getKey('lineIdStr').then((value) {
             if (value != null) {
               for (int i = 0; i < lineList.length; i++) {