From f82d54df81485cd7e5474719abc2203462c2c496 Mon Sep 17 00:00:00 2001 From: fmk Date: Tue, 26 Oct 2021 19:15:09 +0800 Subject: [PATCH] safety --- lib/store/store_view/shop_goods.dart | 2 +- lib/web/web_page.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/store/store_view/shop_goods.dart b/lib/store/store_view/shop_goods.dart index 57a45d5a..d3d97bb1 100644 --- a/lib/store/store_view/shop_goods.dart +++ b/lib/store/store_view/shop_goods.dart @@ -127,7 +127,7 @@ class _ShopGoods extends State { width: 4, ), Text( - "¥${widget.isShopCart ? widget.shoppingCartSkuItemListBean.skuPrice : widget.productListBean.applyPrice}", + "¥${widget.isShopCart ? widget.shoppingCartSkuItemListBean.skuPrice : widget.productListBean.price}", style: TextStyle( color: Color(0xFFFF7A1A), fontSize: 11.sp, diff --git a/lib/web/web_page.dart b/lib/web/web_page.dart index c5fc53be..2b45d671 100644 --- a/lib/web/web_page.dart +++ b/lib/web/web_page.dart @@ -271,7 +271,7 @@ class _WebPage extends State with WidgetsBindingObserver { /// 富文本的评论 CommentList( commentKey, - article?.likes ?? activity?.likes ?? "0", + article?.likes ?? "${activity?.likes}" ?? "0", article?.id ?? activity?.id, isKeyBoardShow, _reply,