소스 검색

no message

DaMowang 3 년 전
부모
커밋
e25f42a6eb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 = {
         ...this.goodsDa,
         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);
     },
     // 添加到购物车