uniapp实现聊天消息触,vue3和vue2实现聊天消息触底 scrollTop ,scrollHeight Pc端H5端都适用
uniapp触底SDN链接如下(本人的另一篇博客)uniapp聊天时时触底链接Pc端模拟手机端H5vue3写法{{p.info}}发送import{ref,nextTick,onMounted,watch,HtmlHTMLAttributes}from"vue";import{storeToRefs}from"pinia";import{userCeshi}from"@/pinia/module/