浏览代码

更改富文本图片默认大小

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