ludc
2025-01-15 c659560c7ee8d8f8278b938421de13bf65d1e1b1
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 实例