<script>
const state = {
'page_id': 1,
'user_id': 5
}
const title = ''
const url = 'hello-world.html'
history.pushState(state, title, url)
</script>
ftp协议
http协议
通过pushState改变url不向后端发送请求
标签:const,跨域,title,url,跳转,state,3.1,pushState,id
来源: https://www.cnblogs.com/xjt31/p/14462958.html