解决办法 一、
res是接口返回的from表单
this.aliPayUrl = res;
document.write(this.aliPayurl)
解决办法 二、
让后端只返回下单链接
后端代码
configContextQueryService.getAlipayClientWrapper(mchAppConfigContext).getAlipayClient().pageExecute(req, "GET").getBody()
前端代码
this.aliPayUrl = res;
window.open(this.alipayFrom)