wangting
2024-11-04 1f8e24520ed07be80f2190656fd35bf24a0cd14f
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 实例