BUG 368
This commit is contained in:
@@ -73,6 +73,7 @@ export default {
|
|||||||
getList() {
|
getList() {
|
||||||
if (this.current == 1) {
|
if (this.current == 1) {
|
||||||
//当current=1时,意味着重新刷新数据
|
//当current=1时,意味着重新刷新数据
|
||||||
|
this.list = []
|
||||||
} else if (this.list.length >= this.total && this.total > 0) {
|
} else if (this.list.length >= this.total && this.total > 0) {
|
||||||
return //当数据总量和列表总量一样时,不用再加载数据
|
return //当数据总量和列表总量一样时,不用再加载数据
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user