Commit f08dd933bf011b11d4070c42412bb6cc1012d626

Authored by wdn127929
1 parent 2f70a872

桌位页面name带参数汉字兼容

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 }