feat(每日充值活动页面): 宝箱激活状态根据当前等级来

This commit is contained in:
hzj 2026-04-30 18:35:08 +08:00
parent de4fd8ca5e
commit 69ed55bdaf

View File

@ -790,15 +790,7 @@ const selectRewardChest = (level) => {
const isChestConditionReached = (level) => {
const chestLevel = Number(level)
if (chestLevel < currentLevel.value) {
return true
}
if (chestLevel === currentLevel.value) {
return task1Completed.value && task2Completed.value
}
return false
return chestLevel > 0 && chestLevel <= currentLevel.value
}
const getChestImageName = (chest) => {