feat(cp排行榜): 历史榜首为空,暂时设置长度为1
This commit is contained in:
parent
e00c38ded3
commit
6d638770cb
@ -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 = [{}]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user