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