let pamases = {
    			 username:this.aggregatedata.sellerName,
                 userId:this.aggregatedata.sellerId,
                 rechargeAmount:this.Recharge.RechargeAmount,
                 userType:'卖家',
                 productCode:'CZ',
             }
              this.$api.Implementation.gochana(pamases).then( res => {
                 //  this.htmls = res;
                 document.querySelector('body').innerHTML = res;
                 
                 const div = document.createElement('div') // 创建div
                 div.innerHTML = res // 将返回的form 放入div
                 document.body.appendChild(div)
                 document.forms[0].submit()
                 
              })
             this.$message({
             showClose: true,
             message: '请输入正确的充值金额',
             type: 'warning'
             });
Logo

前往低代码交流专区

更多推荐