Commit 6f654d91 authored by liwei's avatar liwei

解决了分页无限刷新问题

parent f3ef34c0
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
item.memMaxEducation = getValue('education',item.memMaxEducation) item.memMaxEducation = getValue('education',item.memMaxEducation)
} }
}) })
this.$refs.paging.complete(list); this.$refs.paging.completeByTotal(list,res.data.total);
}) })
// 组件加载时会自动触发此方法,因此默认页面加载时会自动触发,无需手动调用 // 组件加载时会自动触发此方法,因此默认页面加载时会自动触发,无需手动调用
......
...@@ -141,7 +141,7 @@ export default { ...@@ -141,7 +141,7 @@ export default {
item.memMaxEducation = getValue('education',item.memMaxEducation) item.memMaxEducation = getValue('education',item.memMaxEducation)
} }
}) })
this.$refs.paging.complete(list); this.$refs.paging.completeByTotal(list,res.data.total);
}) })
}, },
// 点赞 // 点赞
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment