1. 页面一

发送

location.href='./addUpdate.html?pageName=添加'
  1. 页面二

接受

console.log(decodeURI(location.search.split('=')[1]));
posted on 2023-11-20 13:57  文种玉  阅读(50)  评论(0编辑  收藏  举报