소스 검색

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()
 	})
 
 	// 调用数据接口