安装依赖包. npm install jsbarcode --save. 在使用页面引入依赖包. import JsBarcode from 'jsbarcode'. 定义img标签和id. <img id="barcode" /> ...
確定! 回上一頁