Commit e50e5ee7ddcd50b05b19d2d2ae0991d5381fa77e
1 parent
b4e10856
1.补充翻译
Showing
1 changed file
with
4 additions
and
2 deletions
src/components/CommonElementEvent/FilfileManageInfo.js
| @@ -193,6 +193,8 @@ const FilfileManageComponent = Form.create({ | @@ -193,6 +193,8 @@ const FilfileManageComponent = Form.create({ | ||
| 193 | tableProps: { setUpload: true, setDownload: true }, | 193 | tableProps: { setUpload: true, setDownload: true }, |
| 194 | enabled: true, | 194 | enabled: true, |
| 195 | }; | 195 | }; |
| 196 | + const BtnSure = commonFunc.showLocalMessage(props, "BtnSure", "确定"); | ||
| 197 | + const BtnCancel = commonFunc.showLocalMessage(props, "BtnCancel", "取消"); | ||
| 196 | return ( | 198 | return ( |
| 197 | <Form > | 199 | <Form > |
| 198 | <Layout> | 200 | <Layout> |
| @@ -204,8 +206,8 @@ const FilfileManageComponent = Form.create({ | @@ -204,8 +206,8 @@ const FilfileManageComponent = Form.create({ | ||
| 204 | </div> | 206 | </div> |
| 205 | </Layout> | 207 | </Layout> |
| 206 | <div style={{ textAlign: 'right', marginRight: '9px', marginBottom: '9px' }}> | 208 | <div style={{ textAlign: 'right', marginRight: '9px', marginBottom: '9px' }}> |
| 207 | - <Button key="back" style={{ marginRight: '8px' }} onClick={props.onModalCancel.bind(this, 'visibleFilfile')}>取消</Button> | ||
| 208 | - <Button type="primary" onClick={props.onModalOk.bind(this, 'visibleFilfile')}>确认</Button> | 209 | + <Button key="back" style={{ marginRight: '8px' }} onClick={props.onModalCancel.bind(this, 'visibleFilfile')}>{BtnCancel}</Button> |
| 210 | + <Button type="primary" onClick={props.onModalOk.bind(this, 'visibleFilfile')}>{BtnSure}</Button> | ||
| 209 | </div> | 211 | </div> |
| 210 | </Layout> | 212 | </Layout> |
| 211 | </Form> | 213 | </Form> |