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; }