hejianhao
2025-05-06 0bb6a8ec23577a51bfee1d729719ec5eaf9eaefc
路由模式
1个文件已修改
2 ■■■ 已修改文件
src/router/index.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/router/index.js
@@ -194,7 +194,7 @@
}
export default new Router({
  mode: 'hash', // 去掉url中的#
  mode: 'hash',
  scrollBehavior: () => ({ y: 0 }),
  routes: constantRoutes
})