react_hsbc_teller 0.8.7 → 0.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +6 -3
package/package.json
CHANGED
|
@@ -2502,6 +2502,11 @@ class Video extends Component {
|
|
|
2502
2502
|
}
|
|
2503
2503
|
};
|
|
2504
2504
|
componentWillUnmount() {
|
|
2505
|
+
this.clearData()
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
}
|
|
2509
|
+
clearData=()=>{
|
|
2505
2510
|
if (this.state.roomCustomerList.length == 0 && this.state.sessionType) {
|
|
2506
2511
|
this.finishSessionClick()
|
|
2507
2512
|
}
|
|
@@ -2520,11 +2525,11 @@ class Video extends Component {
|
|
|
2520
2525
|
imJoinRoom: false,
|
|
2521
2526
|
sessionType: false
|
|
2522
2527
|
});
|
|
2528
|
+
this.timer && clearInterval(this.timer);
|
|
2523
2529
|
this.setState = (state, callback) => {
|
|
2524
2530
|
return
|
|
2525
2531
|
}
|
|
2526
2532
|
this.cancel = ''
|
|
2527
|
-
this.timer && clearInterval(this.timer);
|
|
2528
2533
|
}
|
|
2529
2534
|
finishSessionClick= async () => {
|
|
2530
2535
|
try {
|
|
@@ -2536,8 +2541,6 @@ class Video extends Component {
|
|
|
2536
2541
|
}
|
|
2537
2542
|
}
|
|
2538
2543
|
finishSession = () => {
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
2544
|
if(this.state.isSharedScreen) {
|
|
2542
2545
|
this.test_controller.UnPublish(document.getElementById('video20').name)
|
|
2543
2546
|
this.setState({
|