Browse Source

feat:更新滚动条函数内容

xianna.liang 8 months ago
parent
commit
81dd02733c
1 changed files with 1 additions and 1 deletions
  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()
 	})
 
 	// 调用数据接口