소스 검색

价格为0的bug修改

秦鹏 3 년 전
부모
커밋
a2a6b1eabb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/payment/Payment.vue

+ 1 - 1
src/components/payment/Payment.vue

@@ -147,7 +147,7 @@ export default {
       })
         .then((res) => {
           console.log(res);
-          if (!res.pay_page_url && item.price == 0) {
+          if (!res.pay_page_url) {
             window.location.href = "/GCLS-Personal/#/OrderPaySuccess";
           } else {
             window.location.href = res.pay_page_url;