mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
fix buy check
This commit is contained in:
@@ -60,7 +60,7 @@ const currentGoods = ref<ResponsePointGoodModel>()
|
||||
const buyCount = ref(1)
|
||||
const selectedAddress = ref<AddressInfo>()
|
||||
const canDoBuy = computed(() => {
|
||||
return currentGoods.value && currentGoods.value.price * buyCount.value < currentPoint.value
|
||||
return currentGoods.value && currentGoods.value.price * buyCount.value <= currentPoint.value
|
||||
})
|
||||
|
||||
const addressOptions = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user