浏览代码

feat:更新滚动条函数内容

xianna.liang 8 月之前
父节点
当前提交
81dd02733c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/index15/index15.vue

+ 1 - 1
pages/index15/index15.vue

@@ -132,7 +132,7 @@
 	})
 	//滚动至聊天底部
 	watch([msgList.otherChatList,msgList.chatList], (newVal) => {
-		msgList.scrollTop = scrollToBottom()
+		scrollToBottom()
 	})
 
 	// 调用数据接口