perf: 聊天页面图片尺寸缩小至180px
This commit is contained in:
parent
e34fb25759
commit
d22266a947
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user