Commit 0750ec44 by 姜雷

Merge branch 'develop' into test

parents a0583ef7 c4d9eb65
......@@ -198,11 +198,11 @@ class BarCode extends Component {
}
drawBarCode(showBig: boolean) {
const { userinfo } = this.props;
let idBar = userinfo.idBar.substring(0, userinfo.idBar.length - 2) + '04';
if (showBig) {
wxbarcode.barcode('BarCode', userinfo.idBar, 646, 188);
wxbarcode.barcode('BarCode', idBar, 700, 188);
} else {
wxbarcode.barcode('BarCode', userinfo.idBar, 700, 364);
wxbarcode.barcode('BarCode', idBar, 700, 364);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment