lex 1 年間 前
コミット
99b7a60ccc
1 ファイル変更1 行追加8 行削除
  1. 1 8
      src/components/MPayment.vue

+ 1 - 8
src/components/MPayment.vue

@@ -130,14 +130,7 @@ export default {
       } else {
         url += `/#/payResult`;
       }
-      // 为了处理特殊字符  &not
-      const temp = this.paymentObject;
-      const { notifyUrl, ...more } = temp?.payMap;
-      temp.payMap = {
-        ...more,
-        onotifyUrl: notifyUrl,
-      };
-      url += `?payType=${this.pay_channel}&payment=${JSON.stringify(temp)}&platform=teacher`;
+      url += `?payType=${this.pay_channel}&payment=${JSON.stringify(this.paymentObject)}&platform=teacher`;
       this.$emit("onChangeStatus", false); // 初始化弹窗状态
       window.location.href = url;
     },