فهرست منبع

更新支付页面

lex 2 سال پیش
والد
کامیت
28bef5c18a
2فایلهای تغییر یافته به همراه4 افزوده شده و 11 حذف شده
  1. 1 9
      src/student/music-group/layout/login.tsx
  2. 3 2
      src/student/music-group/pre-apply/order-detail.tsx

+ 1 - 9
src/student/music-group/layout/login.tsx

@@ -90,15 +90,6 @@ export default defineComponent({
           'jump pre registration'
         )
 
-        // this.goAuth(data)
-        // console.log(returnUrl, isRegister, { ...rest })
-        // this.$router.replace({
-        //   path: returnUrl as any,
-        //   query: {
-        //     ...rest,
-        //     code: this.code
-        //   }
-        // })
         const newUrl =
           window.location.origin +
           window.location.pathname +
@@ -108,6 +99,7 @@ export default defineComponent({
           qs.stringify({
             ...rest
           })
+        // 直接跳转到授权页面
         this.getAppIdAndCode(newUrl)
         // this.locationReplace(newUrl)
       }

+ 3 - 2
src/student/music-group/pre-apply/order-detail.tsx

@@ -118,8 +118,9 @@ export default defineComponent({
         //     userId: config.userId
         //   }
         // })
-        window.location.href = window.location.origin
-        '/orchestra-student/#/payResult?' +
+        window.location.href =
+          window.location.origin +
+          '/orchestra-student/#/payResult?' +
           qs.stringify({
             pay_channel: val.pay_channel,
             wxAppId: config.wxAppId,