From a3f2a42342d936053edc9fc13aa57c5c104fcfd3 Mon Sep 17 00:00:00 2001 From: fmk Date: Thu, 14 Oct 2021 11:11:59 +0800 Subject: [PATCH] safety --- lib/store/store_view/shop_car.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/store/store_view/shop_car.dart b/lib/store/store_view/shop_car.dart index 182821b8..fc1fc57c 100644 --- a/lib/store/store_view/shop_car.dart +++ b/lib/store/store_view/shop_car.dart @@ -99,6 +99,10 @@ class _ShopCar extends State { ), InkWell( onTap: () { + allPrice = 0; + allCount = 0; + widget.productLists.clear(); + state((){}); widget.clearShopCar(); }, child: Image.asset(