Explorar o código

feat:更新滚动条函数内容

xianna.liang hai 8 meses
pai
achega
81dd02733c
Modificáronse 1 ficheiros con 1 adicións e 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()
 	})
 
 	// 调用数据接口