react_hsbc_teller 2.0.66 → 2.0.67
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 +3 -1
- package/lib/hsbc.js +1 -1
- package/package.json +1 -1
- package/packages/pages/video/video.jsx +7 -4
package/package.json
CHANGED
|
@@ -61,7 +61,7 @@ import MultiModule from '../multiModule/multiModule'//签字、抄录
|
|
|
61
61
|
import axios from 'axios';
|
|
62
62
|
import CryptoJS from "crypto-js";
|
|
63
63
|
|
|
64
|
-
const SDK_VERISON = '2.0.
|
|
64
|
+
const SDK_VERISON = '2.0.67'
|
|
65
65
|
const IDtypeFront = '请客户在其设备后置摄像头下展示证件正面(如:身份证照片页面)'
|
|
66
66
|
const IDtypeBack = '请在后置摄像头下展示证件反面(如:身份证国徽页)'
|
|
67
67
|
const { Option } = Select;
|
|
@@ -1995,8 +1995,11 @@ class Video extends Component {
|
|
|
1995
1995
|
this.state.businessId = Mival.id;
|
|
1996
1996
|
this.saveLog('Start business recording')
|
|
1997
1997
|
this.enableServerRecording(Mival.id, 'startBusinessRecording')
|
|
1998
|
-
|
|
1999
|
-
|
|
1998
|
+
// 这里加定时1秒后触发Ipad录制--阿里的胡子老师要求加的,解决录制的问题
|
|
1999
|
+
setTimeout(() => {
|
|
2000
|
+
if (this.state.ipadTag) this.enableIpadRecording(Mival.id)
|
|
2001
|
+
}, 1000);
|
|
2002
|
+
|
|
2000
2003
|
if (this.props.whetherDetectFace && this.props.recordMode != 2){
|
|
2001
2004
|
this.startFaceDetection();
|
|
2002
2005
|
}
|
|
@@ -2164,7 +2167,6 @@ class Video extends Component {
|
|
|
2164
2167
|
// 获取设备成功
|
|
2165
2168
|
this.test_controller.OnGetDevicesSuccess = (devicesInfo) => {
|
|
2166
2169
|
console.log('devicesInfo' + JSON.stringify(devicesInfo));
|
|
2167
|
-
this.saveLog('devicesInfo:' + JSON.stringify(devicesInfo))
|
|
2168
2170
|
const obj = [
|
|
2169
2171
|
];
|
|
2170
2172
|
const obj1 = [];
|
|
@@ -2243,6 +2245,7 @@ class Video extends Component {
|
|
|
2243
2245
|
}
|
|
2244
2246
|
}
|
|
2245
2247
|
console.log(objList, objList1, objList2)
|
|
2248
|
+
this.saveLog('devicesInfo:' + JSON.stringify(obj1))
|
|
2246
2249
|
const cameraList = objList.filter(el => !el.actionname.includes(RECORD_DEVICE_NAME))
|
|
2247
2250
|
const recorderDevice = objList.find(el => el.actionname.includes(RECORD_DEVICE_NAME))
|
|
2248
2251
|
this.setState({
|