mirror of
https://gitee.com/myxzgzs/boyue_jnpf.git
synced 2025-08-10 08:12:42 +08:00
19 lines
363 B
JavaScript
19 lines
363 B
JavaScript
"use strict";
|
|
|
|
|
|
|
|
function _classCallCheck(instance, Constructor) {
|
|
if (!(instance instanceof Constructor)) {
|
|
throw new TypeError("Cannot call a class as a function");
|
|
}
|
|
}
|
|
|
|
var Barcode = function Barcode(data, options) {
|
|
_classCallCheck(this, Barcode);
|
|
|
|
this.data = data;
|
|
this.text = options.text || data;
|
|
this.options = options;
|
|
};
|
|
|
|
export default Barcode |