Commit daaa36ccc4778b47143218d92705ffcc24b1da48
1 parent
bcfae90b
1.处理上传按钮 支持多语言
Showing
1 changed file
with
2 additions
and
1 deletions
src/components/Common/CommonTable/index.js
| @@ -6987,6 +6987,7 @@ class CommonTableRc extends React.Component { | @@ -6987,6 +6987,7 @@ class CommonTableRc extends React.Component { | ||
| 6987 | } | 6987 | } |
| 6988 | 6988 | ||
| 6989 | const hasColorInfo = this.props?.masterConfig?.sTableColorTs; | 6989 | const hasColorInfo = this.props?.masterConfig?.sTableColorTs; |
| 6990 | + const BtnUpload = commonFunc.showLocalMessage(this.props, "BtnUpload", "上传"); | ||
| 6990 | 6991 | ||
| 6991 | return ( | 6992 | return ( |
| 6992 | <FormItem className={styles.subForm} style={{ height: '100%' }}> | 6993 | <FormItem className={styles.subForm} style={{ height: '100%' }}> |
| @@ -7009,7 +7010,7 @@ class CommonTableRc extends React.Component { | @@ -7009,7 +7010,7 @@ class CommonTableRc extends React.Component { | ||
| 7009 | this.uploadRef.setAttribute('contenteditable', "true"); | 7010 | this.uploadRef.setAttribute('contenteditable', "true"); |
| 7010 | }} | 7011 | }} |
| 7011 | > | 7012 | > |
| 7012 | - <UploadOutlined /> 上传 | 7013 | + <UploadOutlined /> {BtnUpload} |
| 7013 | </Button> | 7014 | </Button> |
| 7014 | </Upload> | 7015 | </Upload> |
| 7015 | : null } | 7016 | : null } |