Răsfoiți Sursa

Merge branch 'yuan' of panhui/lasuo_nft_front into dev

yuanyuan 3 ani în urmă
părinte
comite
59b5dcff3b
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      src/components/Post.vue

+ 2 - 0
src/components/Post.vue

@@ -208,6 +208,8 @@ export default {
                 useCORS: true,
                 allowTaint: true,
                 backgroundColor: null,
+                width: this.$refs.post.offsetWidth - 1,
+                height: this.$refs.post.offsetHeight - 1,
                 scale: 3
             }).then(canvas => {
                 this.$toast.clear();