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/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +5 -3
package/package.json
CHANGED
|
@@ -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
|
-
|
|
2555
|
-
sessionType: false
|
|
2555
|
+
that.setState({
|
|
2556
|
+
sessionType: false,
|
|
2557
|
+
loading: false
|
|
2556
2558
|
})
|
|
2557
|
-
|
|
2559
|
+
that.roomCallBack(2, '加载资源失败','SYS-01')
|
|
2558
2560
|
|
|
2559
2561
|
|
|
2560
2562
|
})
|