场景(移动端):
在a.html页面调用 window.location.href = 'b.html',
在 b.html 页面使用 window.history.back(), 回到上一个页面(即a.html页面)后,
如何回到跳转前的页面位置
(注: a.html页面是列表页面, 若这时列表有新的数据插入, 原来位置 的不一定是跳转前的列表项, 包括 分页信息 等如何存储呢)
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
既然有新的数据,那就不要回到原来的位置,重新取数据分页
PS:同一个问题别开多个贴