ludc
2024-11-21 d2008fc35a45ff00b0f37939a13b792ab12e8c6f
Source/plt-web/plt-web-ui/src/router/router.js
@@ -16,7 +16,7 @@
Vue.use(VueRouter)
//创建路由
export const createRouter = () => new VueRouter({
  mode:"history", //修改为 history 模式 默认不带#号
  mode:"hash", //修改为 history 模式 默认不带#号
  routes: [...PageRouter, ...ViewsRouter],
})
const Router = createRouter() // 获得 route 实例