소스 검색

fix: the picture of the CImage is not clear

Casper Dai 3 년 전
부모
커밋
4827405a62
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 () {