소스 검색

更改富文本图片默认大小

zizhong.wang 5 년 전
부모
커밋
5ac1748b00
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      components/gaoyia-parse/components/wxParseImg.vue

+ 2 - 2
components/gaoyia-parse/components/wxParseImg.vue

@@ -87,8 +87,8 @@ export default {
 				// results.imageheight = originalHeight;
 			} else {
 				// 否则展示原来的数据
-				results.imageWidth = originalWidth;
-				results.imageheight = originalHeight;
+				results.imageWidth = originalWidth * 0.95;
+				results.imageheight = originalHeight * 0.95;
 			}
 			return results;
 		}