diff --git a/frontend/Skyeye-sys-ui/src/layout/components/header-nav/index.js b/frontend/Skyeye-sys-ui/src/layout/components/header-nav/index.js index b36dde4..93dd787 100644 --- a/frontend/Skyeye-sys-ui/src/layout/components/header-nav/index.js +++ b/frontend/Skyeye-sys-ui/src/layout/components/header-nav/index.js @@ -173,12 +173,14 @@ export default { ...mapActions('app', ['reload']), ...mapMutations('app', ['SET_SCENE_ID', 'SET_SCENE_INFO', 'SET_MENUS_CHOSE']), ...mapMutations('user', ['SET_ROLES', 'SET_USER_ID', 'SET_USERNAME']), + ...mapActions('dict', ['getDict']), handleSelect(key) { this.SET_MENUS_CHOSE(key) }, changeLocale(lang) { this.$i18n.locale = lang localStorage.setItem('locale', lang) + this.getDict() // 处理gis上已添加的entity viewer.entities.values.forEach(el => { if (el.id.includes('area')) {