路径规划视频完成

This commit is contained in:
mmc
2026-03-09 12:41:55 +08:00
parent 6310a08278
commit 36def6006a
2 changed files with 11 additions and 12 deletions

View File

@@ -696,10 +696,10 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
_traceManager.reset();
// 5. 重新加载作业记录(保持数据最新)
// final userId = context.read<AppUserCubit>().state.user?.userId ?? "";
// if (userId.isNotEmpty) {
// await context.read<DevicesCubit>().loadWorkRecords(userId);
// }
// final userId = context.read<AppUserCubit>().state.user?.userId ?? "";
// if (userId.isNotEmpty) {
// await context.read<DevicesCubit>().loadWorkRecords(userId);
// }
if (savedCurrentLatLng != null) {
_mapController.move(savedCurrentLatLng, _mapController.camera?.zoom ?? 17);
@@ -876,8 +876,8 @@ class _MapPageEnterpriseState extends State<MapPageEnterprise> {
streamUrl: _videoStreamUrl,
width: 320,
height: 180,
showLeftPip: true,
showRightPip: true,
showLeftPip: false,
showRightPip: false,
onClose: _closeVideoDialog, // 关闭回调
),
),