Commit 99a4806d authored by Cai Wei's avatar Cai Wei

feat(*): 配置hash

parent 93cc4124
import { createWebHistory, createRouter } from 'vue-router' import { createWebHashHistory, createRouter } from 'vue-router'
import Layout from '../layout/index.vue' import Layout from '../layout/index.vue'
...@@ -112,7 +112,7 @@ const routes = [ ...@@ -112,7 +112,7 @@ const routes = [
] ]
const router = createRouter({ const router = createRouter({
history: createWebHistory(), history: createWebHashHistory(),
routes, routes,
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment