摘要: // 用于解析vue项目中的 url 的 query 数据 // 如是 hash 模式,取 location.hash,如 #/xxx?a=1&b=2 // 如是 history 模式,取 location.search function parseQuery () { const str = lo 阅读全文
posted @ 2022-01-13 16:26 前进中的蜗牛 阅读(613) 评论(0) 推荐(0) 编辑