chenrui před 3 roky
rodič
revize
a70642a338

+ 2 - 2
src/views/productManagement/productInfo/edit.vue

@@ -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
         }
       })