Commit c7678733 by 李伟康

commit 提交

1 parent 72064277
...@@ -137,8 +137,8 @@ export default { ...@@ -137,8 +137,8 @@ export default {
}) })
} }
uni.$api.commonApi.getCarBrandsList({ uni.$api.commonApi.getCarBrandsList({
brandId: 2978||e.brandId, brandId: e.brandId,
childBrandId:3454|| e.id childBrandId: e.id
}).then(res => { }).then(res => {
uni.hideLoading() uni.hideLoading()
this.carlist = res this.carlist = res
......
...@@ -224,8 +224,8 @@ export default { ...@@ -224,8 +224,8 @@ export default {
}, },
isLast (index, ind, children) { isLast (index, ind, children) {
let result = false let result = false
if (ind && children) result = ind == children.length - 1 && index == this.detailInfo.length - 1 if (ind > - 1 && children) result = ind == children.length - 1 && index == this.detailInfo.length - 1
else result = index == this.detailInfo.length - 1 else result = (index == this.detailInfo.length - 1 && !this.detailInfo[index].children.length)
return result ? 'last' : '' return result ? 'last' : ''
}, },
isActive (item) { isActive (item) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!