From b5bf6a8ff37d5c363a68697ac8cab88ff21b1614 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 16 七月 2025 23:29:10 +0800 Subject: [PATCH] 增加量表价格为0的判断 --- pages/scanResult/index.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/pages/scanResult/index.js b/pages/scanResult/index.js index b274c29..57e69a0 100644 --- a/pages/scanResult/index.js +++ b/pages/scanResult/index.js @@ -244,7 +244,7 @@ name: res.datas[0].name + '-' + citem.name, icon: res.datas[0].icon ? res.datas[0].icon : "/static/images/default-book-img.png", itemType: citem.type == 'createProductFolderSaleMethod' ? '鐩綍' : citem.type == 'createProductItemSaleMethod' ? '璧勬簮' : '鐢靛瓙涔�', - price: res.datas[0].price ? (res.datas[0].price.price).toFixed(2) : "", + price: res.datas[0].price ? (res.datas[0].price).toFixed(2) : "", oldPrice: res.datas[0].oldPrice ? (res.datas[0].oldPrice).toFixed(2) : '' } list.push(obj) -- Gitblit v1.9.1