mirror of
https://gitee.com/blackfox/geekai.git
synced 2024-12-03 12:48:31 +08:00
移除 vue-router URL 中的 # 号
This commit is contained in:
parent
3a859a51fb
commit
5e0bfc778b
@ -1,4 +1,4 @@
|
||||
import {createRouter, createWebHashHistory} from 'vue-router'
|
||||
import {createRouter, createWebHistory} from 'vue-router'
|
||||
import {createApp} from 'vue'
|
||||
import ElementPlus from "element-plus"
|
||||
import "element-plus/dist/index.css"
|
||||
@ -39,7 +39,7 @@ const routes = [
|
||||
]
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHashHistory(),
|
||||
history: createWebHistory(),
|
||||
routes: routes,
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user