Commit 539bf4c3 authored by Cai Wei's avatar Cai Wei

feat(*): 配置hash

parent 9572ded3
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