update
This commit is contained in:
@@ -990,14 +990,7 @@ function TS_IndexElement(
|
||||
});
|
||||
}
|
||||
function BuildQR(mid) {
|
||||
let svg = bwipjs.toSVG({
|
||||
bcid: 'azteccode', // Barcode type
|
||||
text: mid, // Text to encode
|
||||
height: 12, // Bar height, in millimeters
|
||||
includetext: true, // Show human-readable text
|
||||
textxalign: 'center', // Always good to set this
|
||||
textcolor: 'ff0000', // Red text
|
||||
});
|
||||
var svg = QRCode(mid);
|
||||
return `<span style="display: inline-block; height: 300px; width: 300px;">${svg}</span>`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user