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