通过URLapi获得页面的query

Object.fromEntries(new URL(window.location.href).searchParams)
posted @ 2021-08-26 16:24  影依贤者  阅读(51)  评论(0)    收藏  举报