diff --git a/lib/features/home/presentation/widgets/map/testmap_pages.dart b/lib/features/home/presentation/widgets/map/testmap_pages.dart index 4e6fe7d4..f3b72073 100644 --- a/lib/features/home/presentation/widgets/map/testmap_pages.dart +++ b/lib/features/home/presentation/widgets/map/testmap_pages.dart @@ -928,6 +928,10 @@ class _MapPageEnterpriseState extends State { // ========== 新增:页面刷新初始化方法 ========== Future _handleRefresh() async { + if (_workStatus != WorkStatus.idle) { + _showPageToast(message: "请先停止作业再刷新页面哦!", type: ToastType.warn); + return; + } _cancelAllToast(); if (_isRefreshing) return;