yuantianjiao 6 年前
父节点
当前提交
64e96a0b40
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/components/orderPopup/index.vue

+ 1
- 1
src/components/orderPopup/index.vue 查看文件

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