fix point tooltip

This commit is contained in:
2024-03-12 19:00:26 +08:00
parent 58768c7895
commit 5277c8a2b4

View File

@@ -81,10 +81,10 @@ const canBuy = computed(() => {
return true
})
function getTooltip(goods: ResponsePointGoodModel) {
if (!canBuy.value) return '请先进行账号认证'
if ((currentPoint.value ?? 0) < goods.price) {
return '当前积分不足'
} else {
} else if (!biliAuth.value.id) return '请先进行账号认证'
else {
return '开始兑换'
}
}