Commit a38f5878867e733af858f61c3c7185a8ef910972
1 parent
7820302a
1.补充翻译提交
Showing
1 changed file
with
3 additions
and
3 deletions
src/components/Common/commonBusiness.js
| @@ -1828,11 +1828,11 @@ export function getCharConfig(name, charType, dataID, order, width, height) { | @@ -1828,11 +1828,11 @@ export function getCharConfig(name, charType, dataID, order, width, height) { | ||
| 1828 | export function validatePramsNotEmpty(props) { | 1828 | export function validatePramsNotEmpty(props) { |
| 1829 | let result = true; | 1829 | let result = true; |
| 1830 | 1830 | ||
| 1831 | - const fieldNotNull = commonFunc.showLocalMessage(this.props, 'fieldNotNull', '字段不能为空'); | 1831 | + const fieldNotNull = commonFunc.showLocalMessage(props, 'fieldNotNull', '字段不能为空'); |
| 1832 | 1832 | ||
| 1833 | - const fieldNotZero = commonFunc.showLocalMessage(this.props, 'fieldNotZero', '字段不能为0'); | 1833 | + const fieldNotZero = commonFunc.showLocalMessage(props, 'fieldNotZero', '字段不能为0'); |
| 1834 | 1834 | ||
| 1835 | - const errorMessage = commonFunc.showLocalMessage(this.props, 'errorMessage', '错误提示'); | 1835 | + const errorMessage = commonFunc.showLocalMessage(props, 'errorMessage', '错误提示'); |
| 1836 | 1836 | ||
| 1837 | 1837 | ||
| 1838 | const allTableConfig = commonFunc.getAllTableConfig(props); | 1838 | const allTableConfig = commonFunc.getAllTableConfig(props); |