Browse Source

更新 title

wzh 3 năm trước cách đây
mục cha
commit
f5b9b054ae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main.js

+ 1 - 1
src/main.js

@@ -46,7 +46,7 @@ router.beforeEach(async (to, from, next) => {
 });
 router.afterEach((to, from) => {
   let { title } = to.meta;
-  document.title = title;
+  document.title = "数据中心 - " + title;
   store.commit("setCurrentMenuItem", to.path);
   store.commit("changefirstTitle", title);
 });