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

+ 1 - 0
accessControlSystem/src/main.js

@@ -41,6 +41,7 @@ Vue.use(ElementUI, {
 });
 
 
+document.title = store.getters['getThisDetai'].name || !!window.sessionStorage.getItem('setThisDetai') ? JSON.parse(window.sessionStorage.getItem('setThisDetai')).name : ''
 
 
 //使用钩子函数对路由进行权限跳转