修改app-nvue第一次进入显示逻辑

master
于肖磊 2026-01-05 17:59:53 +08:00
parent ef91d6bec5
commit 7623faebd2
1 changed files with 6 additions and 1 deletions

View File

@ -451,6 +451,12 @@
*/
scroll_event(e) {
this.is_scroll_to_lower = false;
//#ifdef APP-NVUE
if (this.is_first_scroll) {
this.is_first_scroll = false;
this.scroll_to_lower_event(e);
}
//#endif
//#ifndef APP-NVUE
//
if (e.detail.scrollTop > 0 && this.is_first_scroll) {
@ -464,7 +470,6 @@
* @param {Event} e - 滚动事件对象
*/
scroll_to_lower_event(e) {
console.log(e, '滚动到底部事件');
//
this.message_num = 0;
this.is_scroll_to_lower = true;