Przeglądaj źródła

更改富文本图片默认大小

zizhong.wang 5 lat temu
rodzic
commit
5ac1748b00

+ 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;
 		}