2023.09.01
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
this.$http
|
||||
.post('book/shopcategory/getOneLevel')
|
||||
.then(res => {
|
||||
console.log(res,'一级分类')
|
||||
//console.log(res,'一级分类')
|
||||
this.oneLevel = res.list
|
||||
// this.current = e.type
|
||||
this.getTowLevel(this.oneLevel[0])
|
||||
@@ -151,7 +151,7 @@
|
||||
this.$http
|
||||
.post(`book/shopcategory/getTwoLevel?catId=${e.catId}`)
|
||||
.then(res => {
|
||||
console.log(res,'二级分类')
|
||||
//console.log(res,'二级分类')
|
||||
this.towLevel = res.list
|
||||
if (this.towLevel == '') {
|
||||
this.commodityList = []
|
||||
@@ -182,7 +182,7 @@
|
||||
'catId': e.catId
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res,'二级分类')
|
||||
// console.log(res,'二级分类')
|
||||
this.commodityList = res.list
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user