优化bug

This commit is contained in:
tao
2025-09-01 16:36:14 +08:00
parent bdfd051a47
commit 0e7c769907

View File

@@ -92,12 +92,9 @@ class _MyEditPageState extends State<MyEditPage> {
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(