perf: 聊天页面图片尺寸缩小至180px

This commit is contained in:
Mr.Huan 2022-01-26 17:26:29 +08:00
parent e34fb25759
commit d22266a947

View File

@ -146,8 +146,8 @@ export default {
imageStyle(info) {
const {width, height} = info;
if (width && height) {
let maxW = 220,
maxH = 220,
let maxW = 180,
maxH = 180,
tempW = width,
tempH = height;
if (width > maxW || height > maxH) {