mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 01:54:48 +00:00
fix(@vant/cli): shoud scroll to top after routing (#9465)
This commit is contained in:
@@ -112,7 +112,7 @@ export const router = createRouter({
|
|||||||
return { el: to.hash };
|
return { el: to.hash };
|
||||||
}
|
}
|
||||||
|
|
||||||
return { x: 0, y: 0 };
|
return { top: 0 };
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user