fix:国际化替换
This commit is contained in:
@@ -137,7 +137,7 @@ export default {
|
|||||||
width: 120,
|
width: 120,
|
||||||
sortable: 'custom'
|
sortable: 'custom'
|
||||||
}, {
|
}, {
|
||||||
label: this.$t('alert.config.receiver'),
|
label: this.$t('alert.receiver'),
|
||||||
prop: 'receivers',
|
prop: 'receivers',
|
||||||
show: false,
|
show: false,
|
||||||
minWidth: 100
|
minWidth: 100
|
||||||
|
|||||||
@@ -100,7 +100,7 @@
|
|||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!--unit-->
|
<!--unit-->
|
||||||
<el-form-item v-if="showSnmpTrap" :label="$t('alert.config.unit')" class="half-form-item" prop="unit" :rules="[{ required: this.editAlertRule.type !== 3, message: this.$t('validate.required'), trigger: 'blur' }]">
|
<el-form-item v-if="showSnmpTrap" :label="$t('dashboard.panel.chartForm.unit')" class="half-form-item" prop="unit" :rules="[{ required: this.editAlertRule.type !== 3, message: this.$t('validate.required'), trigger: 'blur' }]">
|
||||||
<el-cascader id="alert-box-input-unit" v-model="editAlertRule.unit" :options="unitOptions" :props="{ expandTrigger: 'click',emitPath:false }" :show-all-levels="false" filterable
|
<el-cascader id="alert-box-input-unit" v-model="editAlertRule.unit" :options="unitOptions" :props="{ expandTrigger: 'click',emitPath:false }" :show-all-levels="false" filterable
|
||||||
placeholder=""
|
placeholder=""
|
||||||
popper-class="no-style-class dc-dropdown unit-popper-class"
|
popper-class="no-style-class dc-dropdown unit-popper-class"
|
||||||
@@ -290,7 +290,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!--receiver-->
|
<!--receiver-->
|
||||||
<el-form-item :label="$t('alert.config.receiver')" prop="receiver" :rules="[{ required: editAlertRule.notifyExpired || editAlertRule.notifyActive, message: this.$t('validate.required'), trigger: 'blur' }]">
|
<el-form-item :label="$t('alert.receiver')" prop="receiver" :rules="[{ required: editAlertRule.notifyExpired || editAlertRule.notifyActive, message: this.$t('validate.required'), trigger: 'blur' }]">
|
||||||
<el-select
|
<el-select
|
||||||
id="alert-box-input-receiver"
|
id="alert-box-input-receiver"
|
||||||
v-model.trim="editAlertRule.receiverShow"
|
v-model.trim="editAlertRule.receiverShow"
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ export default {
|
|||||||
width: 120,
|
width: 120,
|
||||||
sortable: 'custom'
|
sortable: 'custom'
|
||||||
}, {
|
}, {
|
||||||
label: this.$t('alert.config.receiver'),
|
label: this.$t('alert.receiver'),
|
||||||
prop: 'receivers',
|
prop: 'receivers',
|
||||||
show: false,
|
show: false,
|
||||||
minWidth: 100
|
minWidth: 100
|
||||||
|
|||||||
Reference in New Issue
Block a user