当前位置:网站首页>.105Location
.105Location
2022-04-23 17:52:00 【sanda_nd】
Location
- 该对象封装了浏览器地址栏的信息
- 如果将location属性改为一个完整的路径或者相对路径,则我们的页面会跳转到该路径,并产生相应的历史纪录
- 对象方法
assign() 跳转到其他页面,和直接使用Location效果相同
reload() 刷新页面,如果传递true参数,会强制刷新并清理缓存
replace() 用一个新页面来替换当前页面,不会产生历史记录,无法回退
版权声明
本文为[sanda_nd]所创,转载请带上原文链接,感谢
https://blog.csdn.net/sanda_nd/article/details/124365102
边栏推荐
- 2022江西光伏展,中国分布式光伏展会,南昌太阳能利用展
- Amount input box, used for recharge and withdrawal
- Learning record of uni app dark horse yougou project (Part 2)
- 编译原理 求first集 follow集 select集预测分析表 判断符号串是否符合文法定义(有源码!!!)
- 列表的使用-增删改查
- JS forms the items with the same name in the array object into the same array according to the name
- 1217_ Generating target files using scons
- Where is the configuration file of tidb server?
- Add animation to the picture under V-for timing
- 油猴网站地址
猜你喜欢
102. 二叉树的层序遍历
Go语言JSON包使用
Allowed latency and side output
【Appium】通过设计关键字驱动文件来编写脚本
Element calculation distance and event object
Gaode map search, drag and drop query address
Go对文件操作
440. 字典序的第K小数字(困难)-字典树-数节点-字节跳动高频题
2022江西光伏展,中国分布式光伏展会,南昌太阳能利用展
JS forms the items with the same name in the array object into the same array according to the name
随机推荐
Open source key component multi_ Button use, including test engineering
Client example analysis of easymodbustcp
386. 字典序排数(中等)-迭代-全排列
Eigen learning summary
394. String decoding - auxiliary stack
Cross domain settings of Chrome browser -- including new and old versions
Learning record of uni app dark horse yougou project (Part 2)
油猴网站地址
Timestamp to formatted date
Uniapp custom search box adaptation applet alignment capsule
Halo 开源项目学习(二):实体类与数据表
470. 用 Rand7() 实现 Rand10()
ES6
ros常用的函数——ros::ok(),ros::Rate,ros::spin()和ros::spinOnce()
386. Dictionary order (medium) - iteration - full arrangement
Allowed latency and side output
587. Install fence / Sword finger offer II 014 Anagrams in strings
Sword finger offer 22 The penultimate node in the linked list - speed pointer
Gaode map search, drag and drop query address
Summary of common server error codes