Commit fd8f3569 authored by Damon's avatar Damon

fix: 搜索结果

parent cde35f52
......@@ -142,7 +142,6 @@ export default {
end: this.lists.length,
})
this.arrId = this.lists[0].id
if (records.length < this.pageSize) {
//判断接口返回数据量小于请求数据量,则表示此为最后一页
this.isLoadMore = true
......@@ -163,8 +162,8 @@ export default {
}
this.$u.vuex('searchHistory', history)
this.currentPage = 1
this.lists = []
setList([])
this.lists = getList()
this.section = []
this.arrId = ''
this.init()
......
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