hyzp_ybqx-Commit046:已经可以播放点位视频,实现登录前加载统计数据
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user