我想重定向或存储提交,我无法成功。 如何获取网址并跳转?
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]:将标头发送到客户端后无法设置标头