From a38f5878867e733af858f61c3c7185a8ef910972 Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Wed, 25 Jun 2025 15:11:14 +0800 Subject: [PATCH] 1.补充翻译提交 --- src/components/Common/commonBusiness.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Common/commonBusiness.js b/src/components/Common/commonBusiness.js index df203cb..97e96ef 100644 --- a/src/components/Common/commonBusiness.js +++ b/src/components/Common/commonBusiness.js @@ -1828,11 +1828,11 @@ export function getCharConfig(name, charType, dataID, order, width, height) { export function validatePramsNotEmpty(props) { let result = true; - const fieldNotNull = commonFunc.showLocalMessage(this.props, 'fieldNotNull', '字段不能为空'); + const fieldNotNull = commonFunc.showLocalMessage(props, 'fieldNotNull', '字段不能为空'); - const fieldNotZero = commonFunc.showLocalMessage(this.props, 'fieldNotZero', '字段不能为0'); + const fieldNotZero = commonFunc.showLocalMessage(props, 'fieldNotZero', '字段不能为0'); - const errorMessage = commonFunc.showLocalMessage(this.props, 'errorMessage', '错误提示'); + const errorMessage = commonFunc.showLocalMessage(props, 'errorMessage', '错误提示'); const allTableConfig = commonFunc.getAllTableConfig(props); -- libgit2 0.22.2