张延森 il y a 5 ans
Parent
révision
96444796ab

+ 1
- 1
src/pages/activity/detail/assemble.js Voir le fichier

79
 
79
 
80
   componentWillUnmount() {
80
   componentWillUnmount() {
81
     this.stopTicker()
81
     this.stopTicker()
82
-    this.state.pointRecordId && updatePoint(pointRecordId)
82
+    this.state.pointRecordId && updatePoint(this.state.pointRecordId)
83
   }
83
   }
84
 
84
 
85
   componentDidShow() {
85
   componentDidShow() {

+ 1
- 1
src/pages/activity/detail/assistance.js Voir le fichier

77
 
77
 
78
   componentWillUnmount() {
78
   componentWillUnmount() {
79
     this.stopTicker()
79
     this.stopTicker()
80
-    this.state.pointRecordId && updatePoint(pointRecordId)
80
+    this.state.pointRecordId && updatePoint(this.state.pointRecordId)
81
   }
81
   }
82
 
82
 
83
   componentDidShow() {
83
   componentDidShow() {