Compare commits
2 Commits
e19d2da93e
...
a31693bad3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a31693bad3 | ||
|
|
19848df78e |
@ -173,12 +173,14 @@ 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')) {
|
||||||
|
|||||||
@ -1327,7 +1327,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: calc(100vh - 60px);
|
top: calc(100vh - 60px);
|
||||||
width: 360px;
|
width: 400px;
|
||||||
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,9 +1347,10 @@
|
|||||||
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: 60px;
|
width: 90px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user