瀏覽代碼

更新 title

wzh 3 年之前
父節點
當前提交
f5b9b054ae
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
 });