修复会员判断问题

This commit is contained in:
2025-12-26 17:22:39 +08:00
parent bde30fa70c
commit 811abf935c
7 changed files with 16 additions and 16 deletions

View File

@@ -503,10 +503,10 @@ export const useCartsStore = defineStore("cart", () => {
return false;
}
const isUse =
shopUserInfo.value.isVip && shopUserInfo.value.isMemberPrice && shopInfo.value
.isMemberPrice == 1 ?
shopUserInfo.value.isVip && shopUserInfo.value.isMemberPrice ?
true :
false;
console.log('useVipPrice',isUse);
return isUse;
});