您的位置: 首页 > 文章 > 怎样不使用cookie取上一个页面的值 怎样不使用cookie取上一个页面的值 分类: 文章 • 2025-03-25 19:25:27 使用参数将他们放到跳转的地址栏中,去选取 获取地址栏参数:window.location.search,使用split(“&”)和split(“=”)拆分成数组,放到数组中,有中文时,使用decodeURL()进行解码