mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 18:46:36 +08:00
commit:前端webpack版本
This commit is contained in:
@@ -9,7 +9,7 @@ watch(
|
||||
() => route.name,
|
||||
() => {
|
||||
//console.log('路由发生了变化', route.name, route.fullPath, route.path, route);
|
||||
document.title = import.meta.env.VITE_PROJECT_NAME;
|
||||
document.title = process.env.VUE_APP_PROJECT_NAME;
|
||||
if (route.meta && route.meta.title) {
|
||||
document.title += ' - ' + route.meta.title;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user