摘要:
页面来回跳转 1.如果页面不需要返回,页面跳转用window.location.replace() 2.如果页面需要返回,页面跳转用window.location,href = "跳转url",返回上一个页面用window.history.go(-1) 注意点: 返回尽量用window.histor 阅读全文
posted @ 2021-05-21 18:00
绊夏微凉
阅读(217)
评论(0)
推荐(0)
|
摘要:
页面来回跳转 1.如果页面不需要返回,页面跳转用window.location.replace() 2.如果页面需要返回,页面跳转用window.location,href = "跳转url",返回上一个页面用window.history.go(-1) 注意点: 返回尽量用window.histor 阅读全文
posted @ 2021-05-21 18:00
绊夏微凉
阅读(217)
评论(0)
推荐(0)
摘要:
页面跳转方式 参考链接:https://www.runoob.com/w3cnote/js-redirect-to-another-webpage.html 阅读全文
posted @ 2021-05-21 11:29
绊夏微凉
阅读(63)
评论(0)
推荐(0)
摘要:
页内定位 参考链接:https://blog.csdn.net/zgyhhygyh93/article/details/52629574 阅读全文
posted @ 2021-05-21 10:01
绊夏微凉
阅读(67)
评论(0)
推荐(0)
|