![](/img/trans.png)
[英]Can anyone tell what happens when we use exact in routes file. And use history,push to that route?
上面的代碼將路由推送到“/”主頁。 如果我在那里看到 console.log(history),我可以將操作視為“REPLACE”而不是“PUSH”。 為什么會發生這種情況? 這是我的路線代碼。 我嘗試放置調試器; 在 history.push 之上,GOT ACTION AS PUSH。 該行代 ...