mirror of
https://github.com/veops/cmdb.git
synced 2025-08-09 11:38:55 +08:00
feat(ui):i18n (#352)
This commit is contained in:
@@ -103,9 +103,9 @@ export default {
|
||||
},
|
||||
httpMap() {
|
||||
return {
|
||||
[this.$t('cmdb.components.aliyun')]: { name: 'aliyun' },
|
||||
[this.$t('cmdb.components.tencentcloud')]: { name: 'tencentcloud' },
|
||||
[this.$t('cmdb.components.huaweicloud')]: { name: 'huaweicloud' },
|
||||
阿里云: { name: 'aliyun' },
|
||||
腾讯云: { name: 'tencentcloud' },
|
||||
华为云: { name: 'huaweicloud' },
|
||||
AWS: { name: 'aws' },
|
||||
}
|
||||
},
|
||||
|
@@ -114,7 +114,7 @@
|
||||
type="primary"
|
||||
icon="plus"
|
||||
>
|
||||
定制仪表盘
|
||||
{{ $t('cmdb.menu.customDashboard') }}
|
||||
</a-button>
|
||||
<span v-else>{{ $t('cmdb.custom_dashboard.noCustomDashboard') }}</span>
|
||||
</div>
|
||||
|
@@ -16,7 +16,7 @@
|
||||
height: '23px',
|
||||
fontSize: '14px',
|
||||
}"
|
||||
/>个</span
|
||||
/></span
|
||||
>
|
||||
<span
|
||||
class="cmdb-preference-left-card-content"
|
||||
@@ -31,7 +31,7 @@
|
||||
height: '23px',
|
||||
fontSize: '14px',
|
||||
}"
|
||||
/>个</span
|
||||
/></span
|
||||
>
|
||||
</div>
|
||||
<div class="cmdb-preference-group" v-for="(group, index) in myPreferences" :key="group.name">
|
||||
|
Reference in New Issue
Block a user