|
@@ -196,10 +196,10 @@ export default {
|
|
|
this.fetching = true
|
|
|
dealerProductBrandQuery({ 'sysFlag': '0', 'queryWord': value }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
- this.productBrandList = res.data
|
|
|
+ this.productBrandList = res.data || []
|
|
|
this.fetching = false
|
|
|
} else {
|
|
|
- this.dealerData = []
|
|
|
+ this.productBrandList = []
|
|
|
this.fetching = false
|
|
|
}
|
|
|
})
|