Commit 8c0ed9c0df1fbdb1084addf623aa10cf1ead5dd6
1 parent
0e7b126e
1.增加关闭的英文翻译
Showing
1 changed file
with
4 additions
and
3 deletions
src/components/Common/CommonListSelect/index.js
| ... | ... | @@ -351,7 +351,7 @@ class CommonList extends Component { |
| 351 | 351 | const { userinfo } = app; |
| 352 | 352 | const BtnSure = commonFunc.showLocalMessage(this.props, 'BtnSure', '确定'); |
| 353 | 353 | const FriendlyReminder = commonFunc.showLocalMessage(this.props, 'FriendlyReminder', '温馨提示'); |
| 354 | - | |
| 354 | + | |
| 355 | 355 | const onSendSocketMessage = this.props.handleSendSocketMessage; |
| 356 | 356 | const returnData = await commonBusiness.saveData({ token, value: params, sModelsId }); |
| 357 | 357 | this.props.onSaveState({ |
| ... | ... | @@ -854,9 +854,10 @@ const CommonListComponent = Form.create({ |
| 854 | 854 | }, |
| 855 | 855 | }; |
| 856 | 856 | const upInvoiceName = commonUtils.isNotEmptyArr(btnUploadApi) ? btnUploadApi[0].showName : '发票上传(金税)'; |
| 857 | - | |
| 857 | + | |
| 858 | 858 | const BtnSure = commonFunc.showLocalMessage(props, 'BtnSure', '确定'); |
| 859 | 859 | const BtnCancel = commonFunc.showLocalMessage(props, 'BtnCancel', '取消'); |
| 860 | + const BtnClose = commonFunc.showLocalMessage(props, 'BtnClose', '关闭'); | |
| 860 | 861 | |
| 861 | 862 | return ( |
| 862 | 863 | <Form > |
| ... | ... | @@ -941,7 +942,7 @@ const CommonListComponent = Form.create({ |
| 941 | 942 | { |
| 942 | 943 | props.readOnly ? |
| 943 | 944 | <div style={{ textAlign: 'right', marginRight: '9px', marginBottom: '9px' }}> |
| 944 | - <Button type="primary" onClick={props.onCancel}>关闭</Button> | |
| 945 | + <Button type="primary" onClick={props.onCancel}>{BtnClose}</Button> | |
| 945 | 946 | </div> : |
| 946 | 947 | <div style={{ textAlign: 'right', marginRight: '9px', marginBottom: '9px' }}> |
| 947 | 948 | { | ... | ... |