2023-05-14 16:05:35 259 126
获取当前页面路径var pathname = window.location.pathname;获取当前页面完整的urlvar url = window.location.href;获取当前