修改店铺分类未展示

master
mahe 2023-12-18 14:43:58 +08:00
parent 9bfb7e8b69
commit 053279f60d
1 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,7 @@ export default {
this.getIndexData(); this.getIndexData();
} else { } else {
this.getGoodsList(); this.getGoodsList();
this.getCateList();
} }
let that = this; let that = this;
window.onscroll = function () { window.onscroll = function () {
@ -246,6 +247,7 @@ export default {
getCateById(this.$route.query.id).then((res) => { getCateById(this.$route.query.id).then((res) => {
if (res.success) { if (res.success) {
this.cateList = res.result; this.cateList = res.result;
console.log(this.cateList,'cateList')
} }
}); });
}, },