会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
闯入码途的水产人
活在当下
博客园
首页
新随笔
联系
订阅
管理
2020年8月24日
记录vue路由在hash模式和history模式下路径匹配
摘要: 在hash模式下路由路径的匹配是从“#/”后面开始匹配 如:http://xxx.xxx.xxxx.cn/PAI/newui/index.html#/index.html 匹配到的$route.path路径是/index.html 在history模式下是从域名后开始匹配,匹配到hash部分(在该模
阅读全文
posted @ 2020-08-24 17:16 闯入码途的水产人
阅读(699)
评论(0)
推荐(0)
编辑
公告