hyzp_ybqx-Commit040:在点位视频列表页面,解决点位编号不连续的问题
This commit is contained in:
@@ -3,7 +3,6 @@ import 'dart:async';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:fluttertoast/fluttertoast.dart';
|
||||
import 'package:hyzp_ybqx511528_xingwen/widget/my_delay_toast.dart';
|
||||
|
||||
import '../../../components/commonFun.dart';
|
||||
//import 'package:hyzp_ybqx511528_xingwen/widget/player_pro.dart';
|
||||
@@ -48,11 +47,18 @@ class _DwspPageState extends State<DwspGetList> {
|
||||
//mapHyshlx[hyshlx]['api'];
|
||||
listDwspGetList2 = value;
|
||||
//按照用户选择的_selectedValue、_descending对listDwspGetList2进行排序,并延时更新
|
||||
|
||||
// 在点位视频列表页面,解决点位编号不连续的问题
|
||||
int _len = listDwspGetList2.length;
|
||||
for (int i = 0; i < _len; i++) {
|
||||
listDwspGetList2[i]['dwbh'] = i + 1;
|
||||
}
|
||||
|
||||
_listSort();
|
||||
firstIndex = 0;
|
||||
lastIndex = 7;
|
||||
|
||||
listDwinfoGetList2 = listDwspGetList2;
|
||||
// listDwinfoGetList2 = listDwspGetList2;
|
||||
// int len = listDwspGetList2.length;
|
||||
// for (int i = 0; i < len; i++) {
|
||||
// getDwspUrl(index: listDwspGetList2[i]['id']).then((value) {
|
||||
|
||||
Reference in New Issue
Block a user