react_hsbc_teller 0.8.3 → 0.8.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react_hsbc_teller",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "React",
5
5
  "private": false,
6
6
  "main": "lib/hsbc.js",
@@ -2548,13 +2548,15 @@ class Video extends Component {
2548
2548
  this.setState({
2549
2549
  loading: true,
2550
2550
  })
2551
+ const that = this
2551
2552
  axios.get(this.props.resourcePath + "/beauty/beauty.js")
2552
2553
  .then(response => this.addToScriptClick()).catch(function (error) {
2553
2554
  console.log(error);
2554
- this.setState({
2555
- sessionType: false
2555
+ that.setState({
2556
+ sessionType: false,
2557
+ loading: false
2556
2558
  })
2557
- this.roomCallBack(2, '加载资源失败','SYS-01')
2559
+ that.roomCallBack(2, '加载资源失败','SYS-01')
2558
2560
 
2559
2561
 
2560
2562
  })