Commit 7e755385 by 梁建民

bug

parent efef3120
......@@ -369,7 +369,7 @@ export const services = {
getWalletInfo(params) {
return axios.get(apis.getWalletInfo, {
params: {
data: params
...params
}
})
},
......
......@@ -55,7 +55,6 @@ axios.interceptors.request.use(function (config) {
}
}
}
return config;
}, function (error) {
return Promise.reject(error);
......
......@@ -243,7 +243,12 @@ routes.forEach(route => {
route.path = route.path || '/' + (route.name || '');
});
const router = new Router({routes});
const router = new Router({
routes: routes,
scrollBehavior(to, from, savedPosition) {
return {x: 0, y: 0}
}
});
export {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment