材料详情打印条形码
This commit is contained in:
@@ -1,3 +1,25 @@
|
||||
// atob polyfill for WeChat mini programs (required by bwip-js for font/base64 decoding)
|
||||
(function() {
|
||||
var _chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='
|
||||
var _atob = function(input) {
|
||||
var str = String(input).replace(/[=]+$/, '')
|
||||
var output = ''
|
||||
var bc = 0, bs, buffer = 0, i = 0
|
||||
for (; str.charAt(i | 0); i++) {
|
||||
bs = _chars.indexOf(str.charAt(i))
|
||||
buffer = (buffer << 6) | bs
|
||||
bc += 6
|
||||
if (bc >= 8) {
|
||||
bc -= 8
|
||||
output += String.fromCharCode((buffer >>> bc) & 255)
|
||||
}
|
||||
}
|
||||
return output
|
||||
}
|
||||
try { globalThis.atob = globalThis.atob || _atob } catch(e) {}
|
||||
try { global.atob = global.atob || _atob } catch(e) {}
|
||||
})()
|
||||
|
||||
import App from './App'
|
||||
|
||||
// #ifndef VUE3
|
||||
|
||||
Reference in New Issue
Block a user