refactor(图表): 地图中心点默认值和文案修改

This commit is contained in:
wisonic 2024-10-22 16:16:21 +08:00
parent 60bdc03bef
commit f7b90fd648
3 changed files with 6 additions and 5 deletions

View File

@ -1542,7 +1542,8 @@ export default {
show_label: '显示标签',
security_code: '安全密钥',
auto_fit: '自适应缩放',
zoom_level: '缩放等级'
zoom_level: '缩放等级',
central_point: '中心点'
},
dataset: {
scope_edit: '仅编辑时生效',

View File

@ -663,7 +663,7 @@ onMounted(() => {
<el-form-item
class="form-item"
:class="'form-item-' + themes"
:label="t('chart.longitude')"
:label="t('chart.central_point') + t('chart.longitude')"
>
<el-input-number
controls-position="right"
@ -679,7 +679,7 @@ onMounted(() => {
<el-form-item
class="form-item"
:class="'form-item-' + themes"
:label="t('chart.latitude')"
:label="t('chart.central_point') + t('chart.latitude')"
>
<el-input-number
controls-position="right"

View File

@ -1590,8 +1590,8 @@ export const DEFAULT_BASIC_STYLE: ChartBasicStyle = {
mapStyleUrl: '',
autoFit: true,
mapCenter: {
longitude: 116,
latitude: 39
longitude: 117.232,
latitude: 39.354
},
zoomLevel: 7
}