Browse Source

Update index.tsx

lex 2 years ago
parent
commit
f667968cfd
1 changed files with 1 additions and 1 deletions
  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