Explorar el Código

fix: the picture of the CImage is not clear

Casper Dai hace 3 años
padre
commit
4827405a62
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 () {