获取url参数方法 小番茄Julia 2021-04-16 79 阅读1分钟 const a = new URLSearchParams(location.search); this.type = a.get("type");