|
@ -42,10 +42,12 @@ export function getLabelInfo(scanMsg,headerType, callBack) { |
|
|
if (type == 'Q') //qrcode
|
|
|
if (type == 'Q') //qrcode
|
|
|
{ |
|
|
{ |
|
|
getQRCodeInfo(header, version, scanMsg, callBack); |
|
|
getQRCodeInfo(header, version, scanMsg, callBack); |
|
|
} else if (type == 'B') //barcode
|
|
|
} |
|
|
{ |
|
|
// else if (type == 'B') //barcode
|
|
|
getBarCodeInfo(header, version, items[2], callBack); |
|
|
// {
|
|
|
} else { //直接输入文本
|
|
|
// getBarCodeInfo(header, version, items[2], callBack);
|
|
|
|
|
|
// }
|
|
|
|
|
|
else { //直接输入文本
|
|
|
getBarCodeInfo('text', 'V1.0', scanMsg, callBack); |
|
|
getBarCodeInfo('text', 'V1.0', scanMsg, callBack); |
|
|
} |
|
|
} |
|
|
}else { |
|
|
}else { |
|
|