Преглед изворни кода

更改富文本图片默认大小

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