js动态给链接添加参数

history.pushState("","","index?gameName="+gameId);

  

原文地址:https://www.cnblogs.com/xiaolixiaoxiao/p/7808267.html