chenrui %!s(int64=3) %!d(string=hai) anos
pai
achega
a70642a338
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/views/productManagement/productInfo/edit.vue

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