Kaynağa Gözat

feat:更新滚动条函数内容

xianna.liang 8 ay önce
ebeveyn
işleme
81dd02733c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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()
 	})
 
 	// 调用数据接口