replace
在此页面上

replace

摘要

参考文档 ↗

一个重定向响应,用于客户端导航重定向,它将执行 history.replaceState 而不是 history.pushState。设置状态码和 Location 头部。默认为 "302 Found"。

签名

replace(url, init): Response

参数

url

暂无文档

init

暂无文档

文档和示例 CC 4.0