mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 11:38:11 +08:00
fix: 国际化
This commit is contained in:
@@ -1191,6 +1191,8 @@ export default {
|
||||
data_preview: 'Data preview',
|
||||
dimension: 'Dimension',
|
||||
quota: 'Indicator',
|
||||
dimension_abb: 'Dim',
|
||||
quota_abb: 'Ind',
|
||||
column_quota: 'Column indicator',
|
||||
line_quota: 'Line indicator',
|
||||
time_dimension_or_quota: 'Time dimension or indicator',
|
||||
|
||||
@@ -1161,6 +1161,8 @@ export default {
|
||||
data_preview: '資料預覽',
|
||||
dimension: '維度',
|
||||
quota: '指標',
|
||||
dimension_abb: '維度',
|
||||
quota_abb: '指標',
|
||||
column_quota: '柱指標',
|
||||
line_quota: '線指標',
|
||||
time_dimension_or_quota: '時間維度或指標',
|
||||
|
||||
@@ -1163,6 +1163,8 @@ export default {
|
||||
data_preview: '数据预览',
|
||||
dimension: '维度',
|
||||
quota: '指标',
|
||||
dimension_abb: '维度',
|
||||
quota_abb: '指标',
|
||||
column_quota: '柱指标',
|
||||
line_quota: '线指标',
|
||||
time_dimension_or_quota: '时间维度或指标',
|
||||
|
||||
@@ -403,33 +403,6 @@ initFunction()
|
||||
}
|
||||
}
|
||||
|
||||
.btn-select {
|
||||
width: 100px;
|
||||
height: 32px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #ffffff;
|
||||
border: 1px solid #bbbfc4;
|
||||
border-radius: 4px;
|
||||
|
||||
.is-active {
|
||||
background: var(--ed-color-primary-1a, rgba(51, 112, 255, 0.1));
|
||||
}
|
||||
|
||||
.ed-button:not(.is-active) {
|
||||
color: #1f2329;
|
||||
}
|
||||
.ed-button.is-text {
|
||||
height: 24px;
|
||||
width: 44px;
|
||||
line-height: 24px;
|
||||
}
|
||||
.ed-button + .ed-button {
|
||||
margin-left: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.mb8 {
|
||||
margin-bottom: 8px;
|
||||
display: inline-flex;
|
||||
|
||||
@@ -345,14 +345,14 @@ initFunction()
|
||||
:class="[fieldForm.groupType === 'd' && 'is-active']"
|
||||
text
|
||||
>
|
||||
{{ t('chart.dimension') }}
|
||||
{{ t('chart.dimension_abb') }}
|
||||
</el-button>
|
||||
<el-button
|
||||
@click="fieldForm.groupType = 'q'"
|
||||
:class="[fieldForm.groupType === 'q' && 'is-active']"
|
||||
text
|
||||
>
|
||||
{{ t('chart.quota') }}
|
||||
{{ t('chart.quota_abb') }}
|
||||
</el-button>
|
||||
</div>
|
||||
</el-form-item>
|
||||
|
||||
@@ -71,7 +71,6 @@ import {
|
||||
syncApiDs,
|
||||
syncApiTable
|
||||
} from '@/api/datasource'
|
||||
import { Base64 } from 'js-base64'
|
||||
import type { SyncSetting, Node } from './form/option'
|
||||
import EditorDatasource from './form/index.vue'
|
||||
import ExcelInfo from './ExcelInfo.vue'
|
||||
|
||||
Reference in New Issue
Block a user