Closed wukongyang closed 3 months ago
引入脚本和标签即可
试过,不太行,只展示了普通二维码,无法切换类型
我尝试过,在 html 文件中使用是没问题的。但是在 vue 文件中,会出现以下提示:
[Vue warn]: Failed setting prop "template" on <widget-qrcode>: value is invalid. TypeError: Cannot set property template of #<t> which has only a getter
请问该如何解决?
现在试试看,vue不允许一个组件只有getter没有setter
现在试试看,vue不允许一个组件只有getter没有setter
可以了:)
引入脚本和标签即可