From e959e4d2a6dd9f4724fa54a1ad20c7b3552660aa Mon Sep 17 00:00:00 2001 From: wurong <953969641@qq.com> Date: Fri, 17 Nov 2023 15:02:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=A8=E5=BA=97=E5=88=97=E8=A1=A8-=E5=9F=8E?= =?UTF-8?q?=E5=B8=82=E9=80=89=E6=8B=A9=E6=96=B0=E5=A2=9E=E5=85=A8=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E5=BA=97=E9=80=89=E6=8B=A9=E9=A1=B9;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/map_style/chinese_cities.json | 3 +++ lib/union/union_list.dart | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 a32272ab..3fef3909 100644 --- a/lib/union/union_list.dart +++ b/lib/union/union_list.dart @@ -64,7 +64,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(),