Commit f40d59e6 authored by Facius's avatar Facius

配件选择页传参

parent b0d2f05a
......@@ -127,12 +127,15 @@ export default {
onLoad(e) {
getApp().trackPage('选择配件页')
if (e) {
this.categaryId = e.categaryId
if (e.type == 1) {
this.categaryId = e.categaryId || ''
this.type = e.type
this.getBrandList(e.brandId)
} else {
} else if (e.type == 2) {
this.type = e.type
this.getCategaryList()
}
}
},
methods: {
// 获取品类
......
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