react_hsbc_teller 2.0.92 → 2.0.93
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/README.md +2 -0
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/demo/demo.js +3 -3
- package/packages/pages/video/video.jsx +3 -3
package/package.json
CHANGED
package/packages/demo/demo.js
CHANGED
|
@@ -66,7 +66,7 @@ import axios from 'axios';
|
|
|
66
66
|
import CryptoJS from "crypto-js";
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
const SDK_VERISON = '2.0.
|
|
69
|
+
const SDK_VERISON = '2.0.93'
|
|
70
70
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
71
71
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
72
72
|
const { Option } = Select;
|
|
@@ -2493,8 +2493,8 @@ class Video extends Component {
|
|
|
2493
2493
|
})
|
|
2494
2494
|
console.log(indexId, microId)
|
|
2495
2495
|
this.setState({
|
|
2496
|
-
cameraValue: objList[indexId].actionid,
|
|
2497
|
-
microphoneValue: objList1[microId].actionid
|
|
2496
|
+
cameraValue: this.state.cameraValue || objList[indexId].actionid,
|
|
2497
|
+
microphoneValue: this.state.microphoneValue || objList1[microId].actionid
|
|
2498
2498
|
})
|
|
2499
2499
|
if (!this.state.appId && !this.state.sessionType) {
|
|
2500
2500
|
console.log('cameraValue', this.state.cameraValue)
|