10 2019 档案

摘要:方法一: let url = new URLSearchParams('www.baidu.com?post=123&action=edit'); console.log(url.get('action')); // 打印出edit 方法二: 利用window.location.search get 阅读全文
posted @ 2019-10-09 10:24 hugge 阅读(239) 评论(0) 推荐(0)