提交 a4435a2c 编写于 作者: DCloud_JSON's avatar DCloud_JSON

修复 发送图片类型的消息,图片传输完毕后会dom 会重绘的问题

上级 47588f95
<template> <template>
<view class="root"> <view class="root">
<uni-im-list v-if="visibleMsgList.length" class="uni-im-list" :scrollTop="scrollTop" :scroll-into-view="scrollIntoView" :paddingBottom="paddingBottom" ref="uni-im-list" @scroll="onScroll" @scrolltolower="onScrollToLower"> <uni-im-list v-if="visibleMsgList.length" class="uni-im-list" :scrollTop="scrollTop" :scroll-into-view="scrollIntoView" :paddingBottom="paddingBottom" ref="uni-im-list" @scroll="onScroll" @scrolltolower="onScrollToLower">
<template v-for="(msg,index) in visibleMsgList" :key="msg._id || msg.unique_id"> <template v-for="(msg,index) in visibleMsgList" :key="msg.unique_id || msg._id">
<uni-im-list-item :ref="'item-'+index"> <uni-im-list-item :ref="'item-'+index">
<view v-if="index === 0" class="data-state-tip-box" @appear="beforeLoadMore"> <view v-if="index === 0" class="data-state-tip-box" @appear="beforeLoadMore">
<uni-im-load-state v-if="canAnchor || !isMpPlatform" :status="hasMore?'loading':'noMore'" <uni-im-load-state v-if="canAnchor || !isMpPlatform" :status="hasMore?'loading':'noMore'"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册