From 41f6cc8b292f0c4ce202224fedc6ac039be40adb Mon Sep 17 00:00:00 2001 From: WinUser01 Date: Mon, 20 Dec 2021 22:21:50 +0800 Subject: [PATCH] =?UTF-8?q?hyzp=5Fybqx-Commit043=EF=BC=9A=E5=9C=A8?= =?UTF-8?q?=E7=82=B9=E4=BD=8D=E8=A7=86=E9=A2=91=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E5=AE=9E=E7=8E=B0=E6=8C=89=E7=85=A7=E7=82=B9?= =?UTF-8?q?=E4=BD=8Did=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pages/Works/DWSP/dwsp_getList.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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) {