fix: 修复VIP价格计算逻辑,确保在价格不为null时进行计算。

将manifest.json中的版本号更新至1.2.88,移除ACCESS_COARSE_LOCATION和ACCESS_FINE_LOCATION权限。同时,在购物页面中修复VIP价格计算逻辑,确保在价格不为null时进行计算。
This commit is contained in:
2026-04-21 13:19:01 +08:00
parent 3bdb3c31a0
commit 964017841e
2 changed files with 3 additions and 7 deletions

View File

@@ -165,7 +165,7 @@
this.cartList.forEach((item, index) => {
let price = 0;
if (item.checked) {
if (item.isVipPrice == 1 && item.vipPrice != 0) {
if (item.isVipPrice == 1 && item.vipPrice != 0 && item.vipPrice != null) {
price = (item.productAmount * item.vipPrice).toFixed(2);
} else {
if (item.activityPrice && item.activityPrice > 0) {