|
|
|
@ -201,6 +201,8 @@ |
|
|
|
}, |
|
|
|
async downCallback() { |
|
|
|
await this.getCategoryListFun(); |
|
|
|
console.log("后续值",this.categoryList) |
|
|
|
console.log("后续值2",this.cid) |
|
|
|
this.mescroll.resetUpScroll(); |
|
|
|
}, |
|
|
|
upCallback(page) { |
|
|
|
@ -265,13 +267,13 @@ |
|
|
|
this.$set(this.categoryList, index, item); |
|
|
|
}); |
|
|
|
}); |
|
|
|
console.log("后续值",this.categoryList) |
|
|
|
console.log("后续值2",this.cid) |
|
|
|
|
|
|
|
this.categoryList.forEach((item, index) => { |
|
|
|
if(this.cid>0 && item.id == this.cid){ |
|
|
|
this.active = index+1 |
|
|
|
} |
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
|