yhj
6 天以前 7b3859284dee7cb00636a08b1177f692a6b6323f
1
2
3
4
5
6
7
8
9
const big = require('./terminal/terminal')
const small = require('./terminal/terminal-small')
 
exports.render = function (qrData, options, cb) {
  if (options && options.small) {
    return small.render(qrData, options, cb)
  }
  return big.render(qrData, options, cb)
}