修复刷新异常
This commit is contained in:
@@ -7,7 +7,7 @@ Vue.use(VueRouter)
|
||||
export default new VueRouter({
|
||||
mode: 'history',
|
||||
hashbang: false,
|
||||
routes: [{path: "/", name: "产品库",component:import('../App')}],
|
||||
routes: [{path: "/", redirect: "/v", name: "产品库", component: import('../App')}],
|
||||
scrollBehavior(to) {
|
||||
if (to.hash) {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user