From b5bf6a8ff37d5c363a68697ac8cab88ff21b1614 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 16 七月 2025 23:29:10 +0800 Subject: [PATCH] 增加量表价格为0的判断 --- packageBookService/pages/psychologyAnswer/psychologyAnswer.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/packageBookService/pages/psychologyAnswer/psychologyAnswer.js b/packageBookService/pages/psychologyAnswer/psychologyAnswer.js index 10fe090..77d6c63 100644 --- a/packageBookService/pages/psychologyAnswer/psychologyAnswer.js +++ b/packageBookService/pages/psychologyAnswer/psychologyAnswer.js @@ -77,7 +77,7 @@ const item = idParhList[index]; const thisItem = linkPathList.find(citem => item == citem.id); if (thisItem.saleMethod.length > 0) { - if (isBuyList.includes(thisItem.saleMethod[0].Id)) { + if (isBuyList.includes(thisItem.saleMethod[0].Id) || thisItem.saleMethod[0].Price == 0) { isBuy = true break } else { -- Gitblit v1.9.1