Commit eab7b494050eba53634761d88e7e50a7241bd080
1 parent
95bd5f54
1.处理手机端回退,不起作用bug
Showing
1 changed file
with
3 additions
and
0 deletions
src/mobile/common/CommobileSubBill.js
| @@ -1087,6 +1087,9 @@ class CommobileBill extends React.Component { | @@ -1087,6 +1087,9 @@ class CommobileBill extends React.Component { | ||
| 1087 | this.handleGetPhoto(); | 1087 | this.handleGetPhoto(); |
| 1088 | } else if (name === 'BtnCancel') { | 1088 | } else if (name === 'BtnCancel') { |
| 1089 | window.history.back(-1); | 1089 | window.history.back(-1); |
| 1090 | + setTimeout(() => { | ||
| 1091 | + this.props.dispatch({ type: "app/refreshPage" }); | ||
| 1092 | + }, 100); | ||
| 1090 | } else if (name === 'BtnExamine') { | 1093 | } else if (name === 'BtnExamine') { |
| 1091 | this.props.onAudit(1); | 1094 | this.props.onAudit(1); |
| 1092 | } else if (name === 'BtnCancelExamine') { | 1095 | } else if (name === 'BtnCancelExamine') { |