ludc
2024-08-14 24fa2e63f7c155c87457980e6c656f3891132a47
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 实例