wangting
2025-01-13 20a1d1809d95d3395403bf2517e49c7def65fedd
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 实例