🎨 接口数据结构变更
This commit is contained in:
parent
23b52a1c2f
commit
4d5f95f7dd
@ -39,7 +39,7 @@ export const actions = {
|
||||
let currentData = JSON.parse(JSON.stringify(state)).list.data
|
||||
let updateState = state.updateState
|
||||
if (!updateState) {
|
||||
if (Number(params.page) === currentData?.pagination.currentPage) {
|
||||
if (Number(params.page) === currentData?.pageNum) {
|
||||
commit('updateListFetching', false)
|
||||
return
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ export const actions = {
|
||||
// 清空已有数据
|
||||
commit('updateListFetching', true)
|
||||
let currentData = JSON.parse(JSON.stringify(state)).list.data
|
||||
if (Number(params.page) === currentData.pagination.currentPage) {
|
||||
if (Number(params.page) === currentData.pageNum) {
|
||||
commit('updateListFetching', false)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user