feat(cp排行榜): 历史榜首为空,暂时设置长度为1

This commit is contained in:
hzj 2026-01-22 15:56:04 +08:00
parent e00c38ded3
commit 6d638770cb

View File

@ -1412,7 +1412,7 @@ const letterTextLength = ref(0) // 情书内容字数
const resultShowIndex = ref(0) //
const seasonTop1List = ref([{}]) // Top1
const seasonTop1List = ref([]) // Top1
const listLeftPosition = ref('0') //top
const centerIndex = ref(0) // 1
//
@ -1671,7 +1671,8 @@ const getLoveLetterWall = async () => {
const getCpSeasonTop1List = async () => {
const resCpSeasonTop1List = await apiGetCpSeasonTop1List()
if (resCpSeasonTop1List.status && resCpSeasonTop1List.body) {
seasonTop1List.value = resCpSeasonTop1List.body
// seasonTop1List.value = resCpSeasonTop1List.body
seasonTop1List.value = [{}]
}
}