refactor(router): clean global api
This commit is contained in:
parent
2c7041c8fb
commit
8741c746df
12 changed files with 46 additions and 126 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { History } from './base'
|
||||
import { merge, cached, noop } from '../../util/core'
|
||||
import { parseQuery, stringifyQuery, cleanPath } from '../util'
|
||||
import { on } from '../../util/dom'
|
||||
import { parseQuery, stringifyQuery, cleanPath } from '../util'
|
||||
|
||||
function replaceHash (path) {
|
||||
const i = location.href.indexOf('#')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue