mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
fix buy check
This commit is contained in:
@@ -60,7 +60,7 @@ const currentGoods = ref<ResponsePointGoodModel>()
|
|||||||
const buyCount = ref(1)
|
const buyCount = ref(1)
|
||||||
const selectedAddress = ref<AddressInfo>()
|
const selectedAddress = ref<AddressInfo>()
|
||||||
const canDoBuy = computed(() => {
|
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(() => {
|
const addressOptions = computed(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user