查看序列号位置bug修复

master
blak-kong 2 years ago
parent 4e57ef0328
commit d7379c37e8

@ -530,7 +530,7 @@ class Instrument extends Component<any, any> {
openLookSerialPosition = () => { openLookSerialPosition = () => {
console.log(this.state.channelInfo); console.log(this.state.channelInfo);
if (this.state.channelInfo.manualCodeBinding) { if (this.state.channelInfo.serial) {
this.setState({ isSerialPosition: true }); this.setState({ isSerialPosition: true });
} else { } else {
msg("暂无图片"); msg("暂无图片");
@ -618,8 +618,8 @@ class Instrument extends Component<any, any> {
<View> <View>
<Image <Image
style="width: 100%;height:200px" style="width: 100%;height:200px"
mode="aspectFill" mode="aspectFit"
src={channelInfo.manualCodeBinding} src={channelInfo.serial}
></Image> ></Image>
</View> </View>
} }

Loading…
Cancel
Save