优化
This commit is contained in:
@@ -232,7 +232,11 @@
|
||||
if (this.current > 1) {
|
||||
this.list = [...this.list, ...res.data.records]
|
||||
} else {
|
||||
this.list = []
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.list = res.data.records
|
||||
})
|
||||
}
|
||||
|
||||
if (res.data.records.length < 10) {
|
||||
|
||||
Reference in New Issue
Block a user