action有三个类型值:POP、PUSH、REPLACE

定义:

The action is one of PUSHREPLACE, or POP depending on how the user got to the current URL.push()、pop()、replace()

操作分别对应PUSH、POP、REPLACE值。

浏览器中的前进后退都是POP值

0 0 vote
Article Rating
Subscribe
提醒
guest
0 评论
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x