Showing
1 changed file
with
4 additions
and
3 deletions
| @@ -1875,11 +1875,12 @@ class NavigatorUtil { | @@ -1875,11 +1875,12 @@ class NavigatorUtil { | ||
| 1875 | ///区域选择页面 | 1875 | ///区域选择页面 |
| 1876 | static Future<dynamic> goAreasSelectPage( | 1876 | static Future<dynamic> goAreasSelectPage( |
| 1877 | BuildContext context, | 1877 | BuildContext context, |
| 1878 | - String rid, String name,{ | 1878 | + String rid, |
| 1879 | + String name, { | ||
| 1879 | replace = false, | 1880 | replace = false, |
| 1880 | }) { | 1881 | }) { |
| 1881 | - return _navigateTo( | ||
| 1882 | - context, "${Routes.areas_select_page}?rid=$rid&name=$name", | 1882 | + return _navigateTo(context, |
| 1883 | + "${Routes.areas_select_page}?rid=$rid&name=${Uri.encodeComponent(name)}", | ||
| 1883 | replace: replace); | 1884 | replace: replace); |
| 1884 | } | 1885 | } |
| 1885 | } | 1886 | } |
-
Please register or login to post a comment