Compare commits

..

No commits in common. "a31693bad3d64051f75d847271ff92fd5c4549d5" and "e19d2da93ecb0c156e82da3a56db2dddd9d9443c" have entirely different histories.

2 changed files with 2 additions and 5 deletions

View File

@ -173,14 +173,12 @@ export default {
...mapActions('app', ['reload']), ...mapActions('app', ['reload']),
...mapMutations('app', ['SET_SCENE_ID', 'SET_SCENE_INFO', 'SET_MENUS_CHOSE']), ...mapMutations('app', ['SET_SCENE_ID', 'SET_SCENE_INFO', 'SET_MENUS_CHOSE']),
...mapMutations('user', ['SET_ROLES', 'SET_USER_ID', 'SET_USERNAME']), ...mapMutations('user', ['SET_ROLES', 'SET_USER_ID', 'SET_USERNAME']),
...mapActions('dict', ['getDict']),
handleSelect(key) { handleSelect(key) {
this.SET_MENUS_CHOSE(key) this.SET_MENUS_CHOSE(key)
}, },
changeLocale(lang) { changeLocale(lang) {
this.$i18n.locale = lang this.$i18n.locale = lang
localStorage.setItem('locale', lang) localStorage.setItem('locale', lang)
this.getDict()
// 处理gis上已添加的entity // 处理gis上已添加的entity
viewer.entities.values.forEach(el => { viewer.entities.values.forEach(el => {
if (el.id.includes('area')) { if (el.id.includes('area')) {

View File

@ -1327,7 +1327,7 @@
position: absolute; position: absolute;
left: 50%; left: 50%;
top: calc(100vh - 60px); top: calc(100vh - 60px);
width: 400px; width: 360px;
transform: translateX(-50%); transform: translateX(-50%);
background-color: $--color-black-1-alpha; background-color: $--color-black-1-alpha;
padding: 6px 10px; padding: 6px 10px;
@ -1347,10 +1347,9 @@
align-items: center; align-items: center;
.is-label { .is-label {
text-align: center;
flex: none; flex: none;
color: $--color-text-1; color: $--color-text-1;
width: 90px; width: 60px;
} }
} }
} }