nuxtjs process.server使用Paypal SDK

时间:2019-08-12 03:48:19

标签: javascript nuxt.js koa nuxt

我想重定向或存储提交,我无法成功。 如何获取网址并跳转?

override func layoutSubviews() {
    super.layoutSubviews()
    self.selectionStyle = .none
    line.backgroundColor = .custom_gray()
    line.snp.makeConstraints { (cons) in
        cons.bottom.left.right.equalTo(phone).inset(0)
        cons.height.equalTo(0.5)
    }
    stack.snp.makeConstraints { (cons) in
        cons.left.right.equalTo(self).inset(25)
        cons.centerY.equalTo(self)
        cons.height.equalTo(230)
        cons.bottom.equalTo(self).inset(15)
    }
    stack.dropShadow()
    stack.layoutIfNeeded()
}

错误: UnhandledPromiseRejectionWarning:错误[ERR_HTTP_HEADERS_SENT]:将标头发送到客户端后无法设置标头

0 个答案:

没有答案