fix: 补充搜索state国际化

This commit is contained in:
@changcode
2021-11-05 16:50:52 +08:00
parent 8d5197da68
commit d227362bfe
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@
{{val.name}} {{val.name}}
</div> </div>
<div class="select_content" v-if="typeof val.val !='undefined' && val.val != null && ind!=sreach_num"> <div class="select_content" v-if="typeof val.val !='undefined' && val.val != null && ind!=sreach_num">
<span>{{val.valString ? val.valString : val.val}}</span> <span>{{$t(val.valString ? val.valString : val.val)}}</span>
<i class="nz-icon nz-icon-close" style="cursor: pointer" @click="close_selcet_list(ind,$event)"></i> <i class="nz-icon nz-icon-close" style="cursor: pointer" @click="close_selcet_list(ind,$event)"></i>
</div> </div>
<div v-else-if="!change_sreach_show && ind==sreach_num && val.id!==7 " class="select_input"> <div v-else-if="!change_sreach_show && ind==sreach_num && val.id!==7 " class="select_input">

View File

@@ -166,11 +166,11 @@ const searchSelectInfo = { // value: 传给后台的值label显示给用
dcState: [ dcState: [
{ {
value: 'ON', value: 'ON',
label: 'Enable' label: i18n.t('overall.enabled')
}, },
{ {
value: 'OFF', value: 'OFF',
label: 'Disable' label: i18n.t('overall.disabled')
} }
], ],
varType: [ varType: [