mirror of
https://github.com/dataease/dataease.git
synced 2025-02-23 02:52:56 +08:00
fix(嵌入式): 嵌入式路由调整
This commit is contained in:
parent
4e287fa5ba
commit
56717714f1
@ -11,14 +11,10 @@ const router = createRouter({
|
||||
const rawInstall = router.install
|
||||
router.install = app => {
|
||||
const hash = window.location.hash
|
||||
console.log('hash', hash)
|
||||
rawInstall(app)
|
||||
console.log('hash1', window.location.hash)
|
||||
setTimeout(() => {
|
||||
console.log('hash2', window.location.hash)
|
||||
}, 300)
|
||||
window.location.hash = hash
|
||||
console.log('hash3', window.location.hash)
|
||||
}, 300)
|
||||
}
|
||||
|
||||
export const setupRouter = (app: App<Element>) => {
|
||||
|
Loading…
Reference in New Issue
Block a user