Explorar o código

价格为0的bug修改

秦鹏 %!s(int64=3) %!d(string=hai) anos
pai
achega
a2a6b1eabb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;