瀏覽代碼

Update index.tsx

lex 2 年之前
父節點
當前提交
f667968cfd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/o-qrcode/index.tsx

+ 1 - 1
src/components/o-qrcode/index.tsx

@@ -204,7 +204,7 @@ export default defineComponent({
         // binarize: toBoolean(that.binarize),
         // binarizeThreshold: that.binarizeThreshold,
         components: that.components
-      })
+      } as any)
         .draw()
         .then((dataUri) => {
           this.imgUrl = dataUri