|
|
@@ -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++) {
|