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