import router from "./index"; import Setting from "@/setting"; router.beforeEach((to, from, next) => { // document.title = Setting.titleSuffix next() })