mirror of
https://gitee.com/easii/mapstruct-plus.git
synced 2025-12-08 10:08:47 +08:00
11 lines
240 B
JavaScript
11 lines
240 B
JavaScript
export default ({ router }) => {
|
|
router.beforeEach((to, from, next) => {
|
|
if (typeof _hmt !== "undefined") {
|
|
if (to.path) {
|
|
_hmt.push(["_trackPageview", to.fullPath]);
|
|
}
|
|
}
|
|
|
|
next();
|
|
});
|
|
}; |