From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +0800
Subject: [PATCH] 推送
---
node_modules/uview-plus/components/u-list/u-list.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/node_modules/uview-plus/components/u-list/u-list.vue b/node_modules/uview-plus/components/u-list/u-list.vue
index b365225..726ff38 100644
--- a/node_modules/uview-plus/components/u-list/u-list.vue
+++ b/node_modules/uview-plus/components/u-list/u-list.vue
@@ -114,7 +114,7 @@
this.anchors = []
},
mounted() {},
- emits: ["scroll", "scrolltolower", "scrolltoupper",
+ emits: ["scroll", "scrolltolower", "scroll-to-lower", "scrolltoupper", "scroll-to-upper",
"refresherpulling", "refresherrefresh", "refresherrestore", "refresherabort"],
methods: {
updateOffsetFromChild(top) {
@@ -145,6 +145,8 @@
scrolltolower(e) {
sleep(30).then(() => {
this.$emit('scrolltolower')
+ // 鏀粯瀹濆皬绋嬪簭濂囨�棤娉曡Е鍙憇crolltolowerhttps://github.com/ijry/uview-plus/issues/422
+ this.$emit('scroll-to-lower')
})
},
// #ifndef APP-NVUE
@@ -152,6 +154,7 @@
scrolltoupper(e) {
sleep(30).then(() => {
this.$emit('scrolltoupper')
+ this.$emit('scroll-to-upper')
// 杩欎竴鍙ュ緢閲嶈锛岃兘缁濆淇濊瘉鍦ㄦ�у姛鑳介殰纰嶇殑webview锛屾粴鍔ㄦ潯鍒伴《鏃讹紝鍙栨秷鍋忕Щ鍊硷紝璁╅〉闈㈢疆椤�
this.offset = 0
})
--
Gitblit v1.9.3