fix: 网元主机操作翻译提示

This commit is contained in:
TsMask
2024-03-05 16:17:38 +08:00
parent 0b576ed446
commit 104041eea5
2 changed files with 4 additions and 4 deletions

View File

@@ -316,7 +316,7 @@ function fnModalOk() {
.then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
message.success({
content: t('views.ne.neHost.ok'),
content: t('common.operateOk'),
duration: 2,
});
fnModalCancel();
@@ -361,7 +361,7 @@ function fnRecordDelete(hostId: string) {
hide();
if (res.code === RESULT_CODE_SUCCESS) {
message.success({
content: t('views.ne.neHost.ok'),
content: t('common.operateOk'),
duration: 2,
});
fnGetList();

View File

@@ -270,7 +270,7 @@ function fnModalOk() {
.then(res => {
if (res.code === RESULT_CODE_SUCCESS) {
message.success({
content: t('views.ne.neHostCmd.ok'),
content: t('common.operateOk'),
duration: 2,
});
fnModalCancel();
@@ -315,7 +315,7 @@ function fnRecordDelete(cmdId: string) {
hide();
if (res.code === RESULT_CODE_SUCCESS) {
message.success({
content: t('views.ne.neHostCmd.ok'),
content: t('common.operateOk'),
duration: 2,
});
fnGetList();