diff --git a/lib/store/shop_details_page.dart b/lib/store/shop_details_page.dart index 06cd5fe5..1194e1d8 100644 --- a/lib/store/shop_details_page.dart +++ b/lib/store/shop_details_page.dart @@ -74,7 +74,6 @@ class _ShopDetailsPage extends State { storeId = widget.arguments["storeId"]; isSetMeal = widget.arguments["isSetMeal"] ?? false; scrollController.addListener(() { - print(scrollController.offset); if(scIndex == 0 && scrollController.offset > 400){ setState(() { scIndex = 1; @@ -109,6 +108,7 @@ class _ShopDetailsPage extends State { void dispose() { super.dispose(); refreshController.dispose(); + scrollController.dispose(); } /// 查询店铺信息