我在vue项目里query路由中的参数怎么显示出类似这种效果
http://localhost:8080/#/linetime?type=sonar+autotest
直接使用+号会被转成 %2b
http://localhost:8080/#/linetime?type=sonar%2Bautotest
怎么解决啊 求大神指点下啊 纠结很久了...
我在vue项目里query路由中的参数怎么显示出类似这种效果
http://localhost:8080/#/linetime?type=sonar+autotest
直接使用+号会被转成 %2b
http://localhost:8080/#/linetime?type=sonar%2Bautotest
怎么解决啊 求大神指点下啊 纠结很久了...
进行转码
decodeURIComponent()
decodeURI()
unescape()