diff --git a/src/components/Common/SlaveMemo.js b/src/components/Common/SlaveMemo.js index 0ad0814..e314d2f 100644 --- a/src/components/Common/SlaveMemo.js +++ b/src/components/Common/SlaveMemo.js @@ -56,7 +56,7 @@ export default class SlaveMemo extends Component { const sMemoField = sCurrMemoProps.sMemoField; const sRecord = sCurrMemoProps.sRecord; const btnName = sCurrMemoProps.btnName ? sCurrMemoProps.btnName : ''; - const fillContent = commonFunc.showLocalMessage(props, 'fillContent', '请填写内容'); + const fillContent = commonFunc.showLocalMessage(this.props, 'fillContent', '请填写内容'); if (!Array.isArray(slaveMemoConfig) || !slaveMemoConfig.length) { if (!sCurrMemoProps?.bNoMemo && sMemoField !== undefined && !btnName.toLowerCase().endsWith('choosedate') && !this.state.textareaValue?.trim()) { return message.warning(fillContent);