style: 网元新增输入端口提示-多语言

This commit is contained in:
TsMask
2023-11-17 10:01:12 +08:00
parent bb92be64fd
commit b8feb6fa35
3 changed files with 12 additions and 5 deletions

View File

@@ -450,9 +450,9 @@ function fnModalCancel() {
*/
function fnRecordDelete(row: Record<string, any>) {
message.success({
content: t('common.msgSuccess', { msg: t('common.deleteText') }),
duration: 2,
});
content: t('common.msgSuccess', { msg: t('common.deleteText') }),
duration: 2,
});
Modal.confirm({
title: t('common.tipTitle'),
content: t('views.configManage.neManage.delSure', { msg: row.neName }),
@@ -904,7 +904,10 @@ onMounted(() => {
<pause-outlined />
{{ t('views.configManage.neManage.stop') }}
</a-menu-item>
<a-menu-item key="reload" v-if="!['OMC','PCF','IMS'].includes(record.neType)">
<a-menu-item
key="reload"
v-if="!['OMC', 'PCF', 'IMS'].includes(record.neType)"
>
<SyncOutlined />
{{ t('views.configManage.neManage.reload') }}
</a-menu-item>
@@ -1030,7 +1033,9 @@ onMounted(() => {
<a-input v-model:value="modalState.from.port" allow-clear>
<template #prefix>
<a-tooltip placement="topLeft">
<template #title> <div>最大范围0~65535</div> </template>
<template #title>
<div>{{ t('views.configManage.neManage.portTip') }}</div>
</template>
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />
</a-tooltip>
</template>