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, deep: true,
handler (n) { handler (n) {
this.titleSearchListCopy = JSON.parse(JSON.stringify(n)) this.titleSearchListCopy = JSON.parse(JSON.stringify(n))
console.log(this.titleSearchListCopy)
this.$nextTick(() => { this.$nextTick(() => {
this.setEachCascWidth() this.setEachCascWidth()
this.needMore() this.needMore()

View File

@@ -4,10 +4,7 @@
class="nz-label-search" class="nz-label-search"
> >
<div class="nz-label-search__label"> <div class="nz-label-search__label">
<span v-if="item.name && item.type === 'logs'">{{$t('overall.logs')}}:</span> <span>{{item.name}}:</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>
</div> </div>
<el-cascader <el-cascader
ref="cascader" ref="cascader"

View File

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