File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ export default {
203
203
// 4:订单码-可定义宽度的嵌入式二维码,商户可根据需要设定二维码的大小
204
204
// return {
205
205
// "channelExtras": {
206
- // "qr_pay_mode": "2 "
206
+ // "qr_pay_mode": "4 "
207
207
// }
208
208
// }
209
209
// 情况【跳转模式】:跳转模式下,用户的扫码界面是由支付宝生成的,不在商户的域名下。支持传入的枚举值有
@@ -224,13 +224,15 @@ export default {
224
224
}
225
225
this .submitLoading = false
226
226
},
227
+ /** 提交支付后,IFrame 内置 URL 的展示形式 */
227
228
displayIFrame (channelCode , data ) {
228
- // this.iframe = {
229
- // title: '支付窗口',
230
- // url: data.displayContent,
231
- // visible: true
232
- // }
233
- window .open (data .displayContent )
229
+ // TODO 芋艿:目前有点奇怪,支付宝总是会显示“支付环境存在风险”
230
+ this .iframe = {
231
+ title: ' 支付窗口' ,
232
+ url: data .displayContent ,
233
+ visible: true
234
+ }
235
+ this .submitLoading = false
234
236
},
235
237
/** 提交支付后,URL 的展示形式 */
236
238
displayUrl (channelCode , data ) {
You can’t perform that action at this time.
0 commit comments