lilei 4 gadi atpakaļ
vecāks
revīzija
373aa34391
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/views/common/productType.js

+ 1 - 1
src/views/common/productType.js

@@ -41,7 +41,7 @@ const ProductType = {
   methods: {
     handleChange(value) {
       this.defaultVal = value;
-      this.$emit('change', this.value);
+      this.$emit('change', this.defaultVal);
     },
     //  产品分类列表
     getProductType () {