react_hsbc_teller 1.4.7 → 1.4.8
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 -5
package/package.json
CHANGED
|
@@ -1497,7 +1497,7 @@ class Video extends Component {
|
|
|
1497
1497
|
this.props.imgCallback({
|
|
1498
1498
|
type: Mival.data.type + '',
|
|
1499
1499
|
file: Mival.data.file,
|
|
1500
|
-
|
|
1500
|
+
errorType: 0}
|
|
1501
1501
|
) // 文字抄录和风险抄录,3--风险,,2--文字
|
|
1502
1502
|
}
|
|
1503
1503
|
} else if (Mival.typeId == 1321) {
|
|
@@ -3716,7 +3716,7 @@ class Video extends Component {
|
|
|
3716
3716
|
activityId: this.props.businessNumber,
|
|
3717
3717
|
appAccount: this.state.faceCustomerUid,
|
|
3718
3718
|
fileBase64: this.state.facialImg.replace(/^data:image\/\w+;base64,/,""),
|
|
3719
|
-
type:
|
|
3719
|
+
type: 1
|
|
3720
3720
|
});
|
|
3721
3721
|
if (result.code == 200) {
|
|
3722
3722
|
this.messageClick('识别成功','success')
|
|
@@ -3867,7 +3867,7 @@ class Video extends Component {
|
|
|
3867
3867
|
handleChangeOcr =(val)=> {
|
|
3868
3868
|
console.log(val)
|
|
3869
3869
|
this.setState({
|
|
3870
|
-
defaultValue:
|
|
3870
|
+
defaultValue: 1,
|
|
3871
3871
|
facialImg: this.test_controller.TakePicture(1, undefined, undefined, this.state.customOcrSid, 'png')
|
|
3872
3872
|
})
|
|
3873
3873
|
}
|
|
@@ -5105,12 +5105,12 @@ class Video extends Component {
|
|
|
5105
5105
|
</div>
|
|
5106
5106
|
]}>
|
|
5107
5107
|
<div className="faceBody">
|
|
5108
|
-
{this.state.faceCustomerType == 2 &&
|
|
5108
|
+
{/* {this.state.faceCustomerType == 2 &&
|
|
5109
5109
|
<Select defaultValue={this.state.defaultValue} style={{ width: 120,marginBottom: '20px' }} onChange={this.handleChangeOcr}>
|
|
5110
5110
|
<Option value="1">正面</Option>
|
|
5111
5111
|
<Option value="2">反面</Option>
|
|
5112
5112
|
</Select>
|
|
5113
|
-
}
|
|
5113
|
+
} */}
|
|
5114
5114
|
<div>
|
|
5115
5115
|
<img className="faceImg" src={this.state.facialImg} alt=""></img>
|
|
5116
5116
|
</div>
|