From 8fa4a17df0d1e1d24503403f0df29a36e835b398 Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Thu, 19 Jun 2025 18:51:42 +0800 Subject: [PATCH] 1.处理提示的多语言 翻译 --- src/components/Common/CommonJurisdictionNewEvent.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/Common/CommonJurisdictionNewEvent.js b/src/components/Common/CommonJurisdictionNewEvent.js index 1feef31..4ca92ed 100644 --- a/src/components/Common/CommonJurisdictionNewEvent.js +++ b/src/components/Common/CommonJurisdictionNewEvent.js @@ -638,6 +638,8 @@ export default (ChildComponent) => { } /** 按钮操作事件 */ handleButtonClick = (name, isFresh) => { + const selectUserPermission = commonFunc.showLocalMessage(this.props, 'selectUserPermission', '选择用户权限'); + const selectGroupPerssion = commonFunc.showLocalMessage(this.props, 'selectGroupPerssion', '选择组权限'); if (name.includes('BtnRepairGroup')) { const { sJurisdictionClassifyId } = this.props; if (commonUtils.isNotEmptyArr(sJurisdictionClassifyId)) { @@ -653,7 +655,7 @@ export default (ChildComponent) => { } } } else { - message.error('请选择组权限'); + message.error(selectGroupPerssion); } } else if (name.includes('BtnRepairUser')) { const { userViewSelectedRowKeys } = this.props; @@ -670,7 +672,7 @@ export default (ChildComponent) => { } } } else { - message.error('请选择用户权限'); + message.error(selectUserPermission); } } else if (name === 'BtnOut') { this.handleOut(); -- libgit2 0.22.2