From 857beeb196bdf3ce40fed224d5259e9936ab54e1 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 22 Dec 2025 06:58:00 -0800 Subject: [PATCH] =?UTF-8?q?fix(mobile-app):=20=E4=BF=AE=E5=A4=8D=20CityPic?= =?UTF-8?q?kers=20locationCode=20=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加空字符串默认值,确保 locationCode 参数类型为 String 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../presentation/pages/authorization_apply_page.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/mobile-app/lib/features/authorization/presentation/pages/authorization_apply_page.dart b/frontend/mobile-app/lib/features/authorization/presentation/pages/authorization_apply_page.dart index 5eacad6f..08395e66 100644 --- a/frontend/mobile-app/lib/features/authorization/presentation/pages/authorization_apply_page.dart +++ b/frontend/mobile-app/lib/features/authorization/presentation/pages/authorization_apply_page.dart @@ -250,7 +250,7 @@ class _AuthorizationApplyPageState height: 300, showType: ShowType.pc, // 只显示省市两级 barrierDismissible: true, - locationCode: tempCityCode ?? tempProvinceCode, // 默认选中保存的位置 + locationCode: tempCityCode ?? tempProvinceCode ?? '', // 默认选中保存的位置 ); if (result != null) {