Commit c4d9eb65 by 姜雷

修改条码生成规则

parent b594b769
......@@ -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