From 803b9bd86127e841a6f68afb0c1b9fafbac8c08f Mon Sep 17 00:00:00 2001 From: mmc <1556375442@qq.com> Date: Wed, 15 Apr 2026 13:27:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BD=9C=E4=B8=9A=E4=B8=AD?= =?UTF-8?q?=E4=B8=8D=E5=85=81=E8=AE=B8=E5=88=B7=E6=96=B0=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/features/home/presentation/widgets/map/testmap_pages.dart | 4 ++++ 1 file changed, 4 insertions(+) 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;