laozt 1 year ago
parent cdcadb94ee
commit 94193bc3a4

@ -203,8 +203,8 @@ Router.prototype.replace = function push(location) {
}; };
export default new Router({ export default new Router({
// mode: "history", // 去掉url中的# mode: "history", // 去掉url中的#
// base: "/", base: "/",
scrollBehavior: () => ({ y: 0 }), scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes, routes: constantRoutes,
}); });

Loading…
Cancel
Save