Эх сурвалжийг харах

Merge branch 'yuan' of panhui/lasuo_nft_front into dev

yuanyuan 4 жил өмнө
parent
commit
59b5dcff3b

+ 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();