mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-02 18:32:10 +08:00
修复歌单详情页内歌曲最多只加载30首的问题
This commit is contained in:
parent
151007cb66
commit
4ea5ea6df2
@ -1,8 +1,3 @@
|
||||
### 优化
|
||||
### 修复
|
||||
|
||||
- 竖屏下的首页允许滑动切换页面(恢复v0.x.x的切页操作)
|
||||
- 优化更新语言、主题设置时的流畅度
|
||||
|
||||
### 其他
|
||||
|
||||
- 启用新架构
|
||||
- 修复歌单详情页内歌曲最多只加载30首的问题
|
||||
|
@ -16,7 +16,7 @@ export default {
|
||||
else state.listDetailInfo.total = result.limit * page
|
||||
state.listDetailInfo.limit = result.limit
|
||||
state.listDetailInfo.page = page
|
||||
state.listDetailInfo.maxPage = Math.ceil(result.total / result.limit)
|
||||
state.listDetailInfo.maxPage = Math.ceil(state.listDetailInfo.total / result.limit)
|
||||
|
||||
return state.listDetailInfo
|
||||
},
|
||||
|
@ -19,7 +19,7 @@ export default {
|
||||
state.listInfo.source = result.source
|
||||
state.listInfo.tagId = tagId
|
||||
state.listInfo.sortId = sortId
|
||||
state.listInfo.maxPage = Math.ceil(result.total / result.limit)
|
||||
state.listInfo.maxPage = Math.ceil(state.listInfo.total / result.limit)
|
||||
|
||||
return state.listInfo
|
||||
},
|
||||
@ -43,7 +43,7 @@ export default {
|
||||
state.listDetailInfo.limit = result.limit
|
||||
state.listDetailInfo.page = page
|
||||
state.listDetailInfo.info = { ...result.info }
|
||||
state.listInfo.maxPage = Math.ceil(result.total / result.limit)
|
||||
state.listDetailInfo.maxPage = Math.ceil(state.listDetailInfo.total / result.limit)
|
||||
|
||||
return state.listDetailInfo
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user