Explorar el Código

feat:更新滚动条函数内容

xianna.liang hace 9 meses
padre
commit
81dd02733c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()
 	})
 
 	// 调用数据接口