From 4d0e4558862c260948f3e4eab5e101d79c01c446 Mon Sep 17 00:00:00 2001 From: wurong <953969641@qq.com> Date: Mon, 9 Sep 2024 11:54:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A5=97=E9=A4=90=E4=BB=B7=E6=A0=BC=E7=A9=BA?= =?UTF-8?q?=E5=AE=89=E5=85=A8=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/store/store_view/product_meals_sku.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/store/store_view/product_meals_sku.dart b/lib/store/store_view/product_meals_sku.dart index f19352ae..68890544 100644 --- a/lib/store/store_view/product_meals_sku.dart +++ b/lib/store/store_view/product_meals_sku.dart @@ -762,7 +762,7 @@ class _ProductMealsSku extends State { color: Color(0xFFF65720), ), ), - if(productInfoList.skuInfoList[0].skuPrice.contains(".")) + if((productInfoList.skuInfoList[0].skuPrice??"").contains(".")) TextSpan( text:".", style: TextStyle( @@ -771,7 +771,7 @@ class _ProductMealsSku extends State { color: Color(0xFFF65720), ), ), - if(productInfoList.skuInfoList[0].skuPrice.contains(".")) + if((productInfoList.skuInfoList[0].skuPrice ?? "").contains(".")) TextSpan( text:(productInfoList.skuInfoList[0].skuPrice ?? "").split(".")[1], style: TextStyle(