Commit 2c439c19 authored by Damon's avatar Damon

Merge branch 'dev-1.5.0' into test

parents ca963126 b4375778
......@@ -272,6 +272,7 @@ export default {
this.scrollId = `brand${item.id}`
} else {
this.brandId = this.brand?.[0]?.id
this.scrollId = `brand${this.brandId}`
this.lists = []
this.getThreeLevel()
}
......@@ -287,9 +288,9 @@ export default {
speciesId: ''
}
if (this.classifyId === 1) {
params.partnerCompanyId = this.brandId
params.partnerCompanyId = this.brandId || ''
} else {
params.speciesId = this.brandId
params.speciesId = this.brandId || ''
}
this.$u.api.getThreeLevel(params).then(res => {
......@@ -309,6 +310,7 @@ export default {
this.scrollModelId = `model${item.id}`
} else {
this.modelId = this.model?.[0]?.id
this.scrollModelId = `model${this.modelId}`
this.lists = []
this.getPartsList()
}
......@@ -335,7 +337,6 @@ export default {
} else {
params.speciesId = this.brandId || ''
}
this.$u.api.getPartsList(params).then((res) => {
if (res.code === 200) {
const data = res.data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment