fix: 国际化调整

This commit is contained in:
@changcode
2021-11-08 16:56:10 +08:00
parent af87507df1
commit e31314e852
3 changed files with 2 additions and 6 deletions

View File

@@ -151,7 +151,6 @@ export default {
deep: true,
handler (n) {
this.titleSearchListCopy = JSON.parse(JSON.stringify(n))
console.log(this.titleSearchListCopy)
this.$nextTick(() => {
this.setEachCascWidth()
this.needMore()

View File

@@ -4,10 +4,7 @@
class="nz-label-search"
>
<div class="nz-label-search__label">
<span v-if="item.name && item.type === 'logs'">{{$t('overall.logs')}}:</span>
<span v-else-if="item.name && item.type === 'metrics'">{{$t('overall.metric')}}:</span>
<span v-else-if="item.name === '时间'">{{$t('overall.time')}}:</span>
<span v-else>{{item.name}}:</span>
<span>{{item.name}}:</span>
</div>
<el-cascader
ref="cascader"

View File

@@ -349,7 +349,7 @@ export default {
index: -1
},
assetLabel: {
label: this.$t('overall.assetLabel'),
label: this.$t('overall.more'),
key: 'fields',
type: 'dropdownCheckBox',
children: [],