Commit abad99e1b209d5e2a5b39c294731356dc5a33f25
1 parent
1aaa957c
1.MES最大化,退出翻译成中文
Showing
1 changed file
with
4 additions
and
2 deletions
src/mes/indexMes/index.js
| ... | ... | @@ -712,6 +712,8 @@ const MachineMessageComponent = ({ e, shutDown, props }) => { |
| 712 | 712 | const second = commonFunc.showLocalMessage(props, 'second', '秒'); |
| 713 | 713 | const ExitLogin = commonFunc.showLocalMessage(props, 'ExitLogin', '退出'); |
| 714 | 714 | const minimize = commonFunc.showLocalMessage(props, 'minimize', '最小化'); |
| 715 | + const maximize = commonFunc.showLocalMessage(props, 'maximize', '最大化'); | |
| 716 | + | |
| 715 | 717 | |
| 716 | 718 | const sct = commonFunc.showLocalMessage(props, 'sct', '系统当前时间:'); |
| 717 | 719 | const DowntimeStartTime = commonFunc.showLocalMessage(props, 'DowntimeStartTime', '停机开始时间:'); |
| ... | ... | @@ -763,8 +765,8 @@ const MachineMessageComponent = ({ e, shutDown, props }) => { |
| 763 | 765 | <div className="p">{beginTime} {startTime}</div> |
| 764 | 766 | <div className="p">{downtimeDuration}{diffHours}{second} {diffMins}{min} {diffSecs}{second}</div> |
| 765 | 767 | <div className="btn"> |
| 766 | - <Button size="large" type="primary" className={styles.btnWg} onClick={() => isMinMax.current = 'max'} > 最大化 </Button> | |
| 767 | - <Button size="large" type="primary" className={styles.btnWg} onClick={handleMenuClose} > 退出 </Button> | |
| 768 | + <Button size="large" type="primary" className={styles.btnWg} onClick={() => isMinMax.current = 'max'} > {maximize} </Button> | |
| 769 | + <Button size="large" type="primary" className={styles.btnWg} onClick={handleMenuClose} > {ExitLogin} </Button> | |
| 768 | 770 | </div> |
| 769 | 771 | </div> |
| 770 | 772 | </div> | ... | ... |