当前位置:网站首页>.105Location

.105Location

2022-04-23 17:56:00 sanda_ nd

Location

- This object encapsulates the information of the browser address bar

- If you will location Property to a complete path or relative path , Then our page will jump to this path , And produce corresponding historical records

- Object methods

assign() Jump to another page , And direct use Location The effect is the same

reload() Refresh the page , If you deliver true Parameters , Will force a refresh and clean up the cache

replace() Replace the current page with a new page , No history will be generated , Can't go back


 

版权声明
本文为[sanda_ nd]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231752127530.html