|
@@ -59,8 +59,10 @@ export default {
|
|
|
if (val) {
|
|
|
var data = this.classifyList.find(item => item.categoryId == val)
|
|
|
row.mainName = data.name
|
|
|
+ row.imgUrl = data.imgUrl
|
|
|
} else {
|
|
|
row.mainName = ""
|
|
|
+ row.imgUrl = ""
|
|
|
}
|
|
|
}}
|
|
|
placeholder="请选择">
|
|
@@ -85,12 +87,9 @@ export default {
|
|
|
onChange={(val) => {
|
|
|
if (val) {
|
|
|
var data = this.classifyListLv2.find(item => item.categoryId == val)
|
|
|
- console.log(data)
|
|
|
row.smallName = data.name
|
|
|
- row.imgUrl = data.imgUrl
|
|
|
} else {
|
|
|
row.smallName = ""
|
|
|
- row.imgUrl = ""
|
|
|
}
|
|
|
}}
|
|
|
placeholder="请选择">
|