初始上传
This commit is contained in:
9
addon/pc/source/os/plugins/route.js
Executable file
9
addon/pc/source/os/plugins/route.js
Executable file
@@ -0,0 +1,9 @@
|
||||
// plugins/route.js文件:
|
||||
export default ({
|
||||
app,
|
||||
redirect
|
||||
}) => {
|
||||
app.router.afterEach((to, from) => {
|
||||
window.scrollTo(0, 0);
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user