react_hsbc_teller 1.1.9 → 1.2.0
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 +3 -2
package/package.json
CHANGED
|
@@ -246,8 +246,10 @@ class Video extends Component {
|
|
|
246
246
|
// eslint-disable-next-line no-undef
|
|
247
247
|
// initWebSocket('wss://im.uat.dsp.hsbcfts.com.cn:443/wealth/im/ws/')
|
|
248
248
|
// initWebSocket('wss://' + JSON.parse(window.sessionStorage.getItem('sigData')).hostname + ':' + '15603' + '/ws/');
|
|
249
|
+
if(!this.state.imStatus){
|
|
250
|
+
initWebSocket('wss://' + JSON.parse(window.sessionStorage.getItem('sigData')).hostname + ':' + JSON.parse(window.sessionStorage.getItem('sigData')).webPort + '/ws/');
|
|
249
251
|
|
|
250
|
-
|
|
252
|
+
}
|
|
251
253
|
const config_param = {};
|
|
252
254
|
config_param.workspaceId = this.state.workSpaceId;
|
|
253
255
|
config_param.uid = this.props.tellerAccount;
|
|
@@ -1604,7 +1606,6 @@ class Video extends Component {
|
|
|
1604
1606
|
this.state.rtoken = '',
|
|
1605
1607
|
this.state.sessionId = '',
|
|
1606
1608
|
this.state.imRoomId = ''
|
|
1607
|
-
|
|
1608
1609
|
this.test_controller.Disconnect()
|
|
1609
1610
|
let data = {
|
|
1610
1611
|
account: this.props.tellerAccount,
|