parent
89ff070859
commit
24999a984c
8 changed files with 14 additions and 10 deletions
After Width: | Height: | Size: 27 KiB |
@ -1,6 +1,8 @@ |
|||||||
import router from './index' |
import router from './index' |
||||||
import Setting from '@/setting' |
import Setting from '@/setting' |
||||||
|
import Util from '@/libs/util' |
||||||
|
|
||||||
router.beforeEach((to, from, next) => { |
router.beforeEach((to, from, next) => { |
||||||
|
document.title = Util.isEn(to.query.siteId || 2) ? 'Institute of Advanced Science Facilities, Shenzhen' : Setting.titleSuffix |
||||||
next() |
next() |
||||||
}) |
}) |
Loading…
Reference in new issue