Commit daaa36ccc4778b47143218d92705ffcc24b1da48

Authored by Min
1 parent bcfae90b

1.处理上传按钮 支持多语言

src/components/Common/CommonTable/index.js
... ... @@ -6987,6 +6987,7 @@ class CommonTableRc extends React.Component {
6987 6987 }
6988 6988  
6989 6989 const hasColorInfo = this.props?.masterConfig?.sTableColorTs;
  6990 + const BtnUpload = commonFunc.showLocalMessage(this.props, "BtnUpload", "上传");
6990 6991  
6991 6992 return (
6992 6993 <FormItem className={styles.subForm} style={{ height: '100%' }}>
... ... @@ -7009,7 +7010,7 @@ class CommonTableRc extends React.Component {
7009 7010 this.uploadRef.setAttribute('contenteditable', "true");
7010 7011 }}
7011 7012 >
7012   - <UploadOutlined /> 上传
  7013 + <UploadOutlined /> {BtnUpload}
7013 7014 </Button>
7014 7015 </Upload>
7015 7016 : null }
... ...