[Feature-5951][Improvement][UI] When creating an alarm instance, the alarm instance name input box prompts optimization (#7770)
This commit is contained in:
parent
7395b980d3
commit
0dfbbc8983
|
|
@ -30,7 +30,7 @@
|
|||
v-model="instanceName"
|
||||
maxlength="60"
|
||||
size="small"
|
||||
:placeholder="$t('Please enter group name')">
|
||||
:placeholder="$t('Please enter alarm plugin instance name')">
|
||||
</el-input>
|
||||
</template>
|
||||
</m-list-box-f>
|
||||
|
|
@ -108,7 +108,7 @@
|
|||
_verification () {
|
||||
// group name
|
||||
if (!this.instanceName.replace(/\s*/g, '')) {
|
||||
this.$message.warning(`${i18n.$t('Please enter group name')}`)
|
||||
this.$message.warning(`${i18n.$t('Please enter alarm plugin instance name')}`)
|
||||
return false
|
||||
}
|
||||
if (!this.pluginDefineId) {
|
||||
|
|
|
|||
|
|
@ -238,6 +238,7 @@ export default {
|
|||
'Instance parameter exception': 'Instance parameter exception',
|
||||
'Group Type': 'Group Type',
|
||||
'Alarm plugin instance': 'Alarm plugin instance',
|
||||
'Please enter alarm plugin instance name': 'Please enter alarm plugin instance name',
|
||||
'Select Alarm plugin instance': 'Please select an Alarm plugin instance',
|
||||
Remarks: 'Remarks',
|
||||
SMS: 'SMS',
|
||||
|
|
|
|||
|
|
@ -237,6 +237,7 @@ export default {
|
|||
'Instance parameter exception': '实例参数异常',
|
||||
'Group Type': '组类型',
|
||||
'Alarm plugin instance': '告警插件实例',
|
||||
'Please enter alarm plugin instance name': '请输入告警实例名称',
|
||||
'Select Alarm plugin instance': '请选择告警插件实例',
|
||||
Remarks: '备注',
|
||||
SMS: '短信',
|
||||
|
|
|
|||
Loading…
Reference in New Issue