yuantianjiao 6 years ago
parent
commit
edfc40189f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/components/orderPopup/index.vue

+ 1
- 1
src/components/orderPopup/index.vue View File

@@ -59,7 +59,7 @@ export default {
59 59
           spec: this.data.spec[this.activeIndex].id,
60 60
           specname: this.data.spec[this.activeIndex].value,
61 61
           defaultNum: val,
62
-          defaultPrice: this.data.spec[this.activeIndex].price,
62
+          defaultPrice: this.data.spec[this.activeIndex].price || 0,
63 63
         })
64 64
       }
65 65
     },