hyzp_ybqx-Commit046:已经可以播放点位视频,实现登录前加载统计数据

This commit is contained in:
WinUser01
2021-12-30 14:54:23 +08:00
parent 88b7ff1129
commit 9f9ae5252b
4 changed files with 13 additions and 4 deletions
+5 -2
View File
@@ -54,7 +54,7 @@ class _DwspPageState extends State<DwspGetList> {
// listDwspGetList2[i]['dwbh'] = i + 1;
// }
//print('listDwspGetList2 = $listDwspGetList2');
// print('xxxx_listDwspGetList2 = $listDwspGetList2');
// for (var item in listDwspGetList2) {
// print('item = $item');
// }
@@ -73,6 +73,7 @@ class _DwspPageState extends State<DwspGetList> {
_listSort();
firstIndex = 0;
lastIndex = 7;
//try_setState();
// listDwinfoGetList2 = listDwspGetList2;
// int len = listDwspGetList2.length;
@@ -362,7 +363,7 @@ class _DwspPageState extends State<DwspGetList> {
// items.where((DropdownMenuItem<T> item) {
// return item.value == value;
// }).length == 1'
String _selectedValue = 'id';
String _selectedValue = '主键ID';
bool _descending = false; //默认升序排列
Widget _getImage(String _image) {
@@ -391,6 +392,8 @@ class _DwspPageState extends State<DwspGetList> {
//按_selectedValue排序,升序
listDwspGetList2.sort((a, b) =>
(a[mapWzxxDataText[_selectedValue]]).compareTo(b[mapWzxxDataText[_selectedValue]]));
// E/flutter ( 5170): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception:
// NoSuchMethodError: The method 'compareTo' was called on null.
}
break;
}