From 0e7c769907f9ce2abe1c634f0072e6e379bdbd9e Mon Sep 17 00:00:00 2001 From: tao Date: Mon, 1 Sep 2025 16:36:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/page/profile/edit/my_edit_page.dart | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/page/profile/edit/my_edit_page.dart b/lib/page/profile/edit/my_edit_page.dart index 5ffd0ad..2bb85f5 100644 --- a/lib/page/profile/edit/my_edit_page.dart +++ b/lib/page/profile/edit/my_edit_page.dart @@ -92,12 +92,9 @@ class _MyEditPageState extends State { return Center(child: CircularProgressIndicator()); } return PopScope( - canPop: false, + canPop: selectionState.userProfile.qStatus == 1, onPopInvokedWithResult: (didPop, __) async { if (didPop) return; - if (selectionState.userProfile.qStatus == 1) { - context.pop(); - } }, child: Scaffold( body: AppBackend(