diff --git a/lib/pages/Works/DWSP/dwsp_getList.dart b/lib/pages/Works/DWSP/dwsp_getList.dart index 0b4df50..f620cc6 100644 --- a/lib/pages/Works/DWSP/dwsp_getList.dart +++ b/lib/pages/Works/DWSP/dwsp_getList.dart @@ -60,9 +60,10 @@ class _DwspPageState extends State { // } listDwspGetList2.sort((_left, _right) => _left['id'].compareTo(_right['id'])); // list排序 - for (var item in listDwspGetList2) { - print('item = $item'); - } + //listDwspGetList2.insert(1, listDwspGetList2[4]); + // for (var item in listDwspGetList2) { + // print('item = $item'); + // } // flutter dart list 排序 // list.sort((_left,_right)=>_left.age.compare(_right.age)); @@ -361,7 +362,7 @@ class _DwspPageState extends State { // items.where((DropdownMenuItem item) { // return item.value == value; // }).length == 1' - String _selectedValue = '点位编号'; + String _selectedValue = 'id'; bool _descending = false; //默认升序排列 Widget _getImage(String _image) {