张延森 před 5 roky
rodič
revize
96444796ab

+ 1
- 1
src/pages/activity/detail/assemble.js Zobrazit soubor

@@ -79,7 +79,7 @@ export default class Detail extends Component {
79 79
 
80 80
   componentWillUnmount() {
81 81
     this.stopTicker()
82
-    this.state.pointRecordId && updatePoint(pointRecordId)
82
+    this.state.pointRecordId && updatePoint(this.state.pointRecordId)
83 83
   }
84 84
 
85 85
   componentDidShow() {

+ 1
- 1
src/pages/activity/detail/assistance.js Zobrazit soubor

@@ -77,7 +77,7 @@ export default class Detail extends Component {
77 77
 
78 78
   componentWillUnmount() {
79 79
     this.stopTicker()
80
-    this.state.pointRecordId && updatePoint(pointRecordId)
80
+    this.state.pointRecordId && updatePoint(this.state.pointRecordId)
81 81
   }
82 82
 
83 83
   componentDidShow() {