02 2022 档案

摘要:URLSearchParams 接口定义了一些实用的方法来处理 URL 的查询字符串。 获取 URL 参数 const url = 'http://xxx.com?id=123&name=hello&age=18'; const search = window.location.search; // 阅读全文
posted @ 2022-02-24 11:38 W-it-H-ou-T 阅读(151) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示