Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
使用getCurrentInstance的话只支持小程序,H5获取到的是空
window.history 试试呢 用原生js的方法获取会更方便些吧
我是通过js获取路径再用字符串截取参数。。。