fix: 告警确认相关提示Tip多语言显示

This commit is contained in:
TsMask
2025-05-22 19:18:23 +08:00
parent 42e71317a2
commit 998318a543
5 changed files with 8 additions and 8 deletions

View File

@@ -531,7 +531,7 @@ const onSelectChange = (
*/
function fnCancelConfirm() {
Modal.confirm({
title: 'Tip',
title: t('common.tipTitle'),
content: t('views.faultManage.activeAlarm.cancelSure'),
onOk() {
const hide = message.loading(t('common.loading'), 0);
@@ -582,7 +582,7 @@ function fnSync() {
*/
function fnClear() {
Modal.confirm({
title: 'Tip',
title: t('common.tipTitle'),
content: t('views.faultManage.activeAlarm.delSure'),
onOk() {
const hide = message.loading(t('common.loading'), 0);
@@ -651,7 +651,7 @@ function mapKeysWithReduce(data: any[], titleMapping: Record<string, string>) {
*/
function fnExportAll() {
Modal.confirm({
title: 'Tip',
title: t('common.tipTitle'),
content: t('views.faultManage.activeAlarm.exportSure'),
onOk() {
const key = 'exportAlarm';

View File

@@ -323,7 +323,7 @@ function mapKeysWithReduce(data: any, titleMapping: any) {
*/
function fnExportAll() {
Modal.confirm({
title: 'Tip',
title: t('common.tipTitle'),
content: t('views.faultManage.eventAlarm.exportSure'),
onOk() {
const key = 'exportAlarm';

View File

@@ -420,7 +420,7 @@ const onSelectChange = (
*/
function fnCancelConfirm() {
Modal.confirm({
title: 'Tip',
title: t('common.tipTitle'),
content: t('views.faultManage.activeAlarm.cancelSure'),
onOk() {
const hide = message.loading(t('common.loading'), 0);
@@ -465,7 +465,7 @@ function mapKeysWithReduce(data: any[], titleMapping: Record<string, string>) {
*/
function fnExportAll() {
Modal.confirm({
title: 'Tip',
title: t('common.tipTitle'),
content: t('views.faultManage.activeAlarm.exportSure'),
onOk() {
const key = 'exportAlarmHis';

View File

@@ -265,7 +265,7 @@ const statsColumns: TableColumnType<any>[] = [
*/
function fnRecordExport() {
Modal.confirm({
title: 'Tip',
title: t('common.tipTitle'),
content: t('views.perfManage.goldTarget.exportSure'),
onOk() {
const key = 'exportKPI';

View File

@@ -276,7 +276,7 @@ const statsColumns: TableColumnType<any>[] = [
*/
function fnRecordExport() {
Modal.confirm({
title: 'Tip',
title: t('common.tipTitle'),
content: t('views.perfManage.goldTarget.exportSure'),
onOk() {
const key = 'exportKPI';