You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
321 B
14 lines
321 B
9 months ago
|
import { createRouter, createWebHashHistory,createWebHistory } from 'vue-router'
|
||
|
import { constRouter } from './module/constRouter'
|
||
|
const router = createRouter({
|
||
|
history: createWebHashHistory(),
|
||
|
routes: [constRouter],
|
||
|
scrollBehavior() {
|
||
|
return {
|
||
|
left: 0,
|
||
|
top: 0,
|
||
|
}
|
||
|
},
|
||
|
})
|
||
|
export default router
|