This commit is contained in:
shijingjing
2022-05-06 17:55:25 +08:00
parent 410fec641f
commit 39bc75b0a1
2 changed files with 6 additions and 2 deletions

View File

@@ -50,7 +50,9 @@ export default {
categoryType: '1',
}
}).then((res)=>{
this.list = this.current == 1? res.data.records:[...this.list,...res.data.records,]
if (res?.data) {
this.list = this.current == 1? res.data.records:[...this.list,...res.data.records,]
}
})
},
toNewList(id,categoryName) {