2025-09-17
下拉刷新 添加商城
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, computed, getCurrentInstance } from 'vue';
|
||||
import {
|
||||
onReady
|
||||
onReady, onPullDownRefresh
|
||||
} from '@dcloudio/uni-app';
|
||||
import { onReady as onUniReady } from '@dcloudio/uni-app';
|
||||
const instance = getCurrentInstance();
|
||||
@@ -94,6 +94,11 @@
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
// 下拉刷新
|
||||
onPullDownRefresh(() => {
|
||||
uni.stopPullDownRefresh()
|
||||
})
|
||||
|
||||
|
||||
onUniReady(() => {
|
||||
|
||||
Reference in New Issue
Block a user