Procházet zdrojové kódy

fix: the picture of the CImage is not clear

Casper Dai před 3 roky
rodič
revize
4827405a62
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/views/bigscreen/ast/core/widget/CImage.vue

+ 1 - 1
src/views/bigscreen/ast/core/widget/CImage.vue

@@ -94,7 +94,7 @@ export default {
         height: `${height}px`,
         'font-size': `${Math.min(width, height) / 3 | 0}px`,
         'border-radius': `${radius}px`,
-        'background-image': !this.isEmpty && this.isNormal ? `url(${getThumbnailUrl(this.img)})` : 'none'
+        'background-image': !this.isEmpty && this.isNormal ? `url(${getThumbnailUrl(this.img, 'size')})` : 'none'
       }
     },
     className () {