Pārlūkot izejas kodu

fix: the picture of the CImage is not clear

Casper Dai 3 gadi atpakaļ
vecāks
revīzija
4827405a62
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 () {