angular中使用二维码

参考:https://blog.csdn.net/zwt_guiji/article/details/79525915
https://www.jianshu.com/p/839f2e20b921

 npm install angular2-qrcode --save   // 没有支持中文汉字

在使用二维码的模块中:


 imports: [
    ...
    QRCodeModule,   // 在此引入angualr2-qrcode模板
  ],

另一种没找到怎么使用的方法!

猜你喜欢

转载自blog.csdn.net/weixin_42995876/article/details/82668300