JS如何获取地址栏的参数实例讲解
地址:http://127.0.0.1:8082/prosperleedir/index.html?id=6666&name=prosper#prosper Location{ assign:ƒ (), // 加载新的文档。 hash:"#prosper", // 设置或返回从井号 (#) 开始的 URL(锚)。 host:"127.0.0.1:8082", // 设置或返回主机名和当前 URL 的端口号。 hostname:"127.0.0.1", // 设置或返回当前 URL 的主机名。 href:"http://127.0.0.1:8
下载地址
用户评论