Browse Source

no message

DaMowang 3 years ago
parent
commit
e25f42a6eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/pages/product/p_details.vue

+ 1 - 1
src/pages/product/p_details.vue

@@ -264,8 +264,8 @@ export default {
       let da = {
       let da = {
         ...this.goodsDa,
         ...this.goodsDa,
         num: this.buyNum,
         num: this.buyNum,
+        is_sell: this.type == 2 ? this.pfway : '0'
       }
       }
-      if(this.type == 2) da.is_sell = this.pfway
       this.goto("/pages/to-pay-list/index", da);
       this.goto("/pages/to-pay-list/index", da);
     },
     },
     // 添加到购物车
     // 添加到购物车