@@ -114,7 +114,7 @@ export default {
this.fetching = true
dealerSubareaScopeList({ nameLike: value, pageNo: 1, pageSize: 20 }).then(res => {
if (res.status == 200) {
- this.dealerData = res.data.list
+ this.dealerData = res.data.list || []
this.fetching = false
} else {
this.dealerData = []
@@ -158,7 +158,7 @@ export default {
}
supplierProductList(params).then(res => {
- this.productData = res.data.list
+ this.productData = res.data.list || []
this.productData = []
@@ -120,7 +120,7 @@ export default {