From 53abc4cb3a1d675954b054be0ffc743e19c188b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=B9=8F?= Date: Thu, 27 Feb 2025 10:40:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E5=88=97=E8=A1=A8=E5=92=8C?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=88=B7=E6=96=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sub/invite/addEnterprise.vue | 4 ++-- sub/invite/index.vue | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/sub/invite/addEnterprise.vue b/sub/invite/addEnterprise.vue index 3776611..b8e679f 100644 --- a/sub/invite/addEnterprise.vue +++ b/sub/invite/addEnterprise.vue @@ -456,8 +456,8 @@ export default { uni.showToast({ icon: 'none', title: '操作成功' - }) - uni.navigateBack() + }) + uni.navigateBack() }) } else { createEnterPrise(data).then(res => { diff --git a/sub/invite/index.vue b/sub/invite/index.vue index 4c7c592..fb56bc9 100644 --- a/sub/invite/index.vue +++ b/sub/invite/index.vue @@ -3,6 +3,9 @@ class="view-container" direction="vertical" :show-scrollbar="false" + @refresherrefresh="onRefresh" + :refresher-enabled="true" + :refresher-triggered="isRefreshing" > { + this.isRefreshing = false + }, 1000) + }, getList() { uni.showLoading({ title: '加载中...' @@ -183,7 +197,7 @@ export default { padding: 0 24rpx; display: flex; flex-flow: column nowrap; - padding-bottom: 13vh; + height: calc(100vh - env(safe-area-inset-bottom)); &::-webkit-scrollbar { display: none; }