diff --git a/assets/map_style/chinese_cities.json b/assets/map_style/chinese_cities.json index b2a647be..d992f55e 100644 --- a/assets/map_style/chinese_cities.json +++ b/assets/map_style/chinese_cities.json @@ -10,5 +10,8 @@ "W": [{ "area": "武汉" }], "Z": [ { "area": "郑州" } + ], + "全部": [ + { "area": "所有门店" } ] } \ No newline at end of file diff --git a/lib/union/union_list.dart b/lib/union/union_list.dart index 8eae1f1f..8b14a0c6 100644 --- a/lib/union/union_list.dart +++ b/lib/union/union_list.dart @@ -61,7 +61,7 @@ class _UnionList extends State with AutomaticKeepAliveClientMixin { ); } BaseData> baseData = await apiService.queryStore({ - "city": widget.city ?? "", + "city": (widget.city ?? "") == "所有门店" ? "" : (widget.city ?? ""), // "district": district, // "province": province, "latitude": (widget.latLng?.latitude ?? "").toString(),