Commit 7b3a284e authored by nick zheng's avatar nick zheng

fix: 个人空间应用下拉展示不全

parent e5e9bad7
...@@ -209,7 +209,7 @@ const handleCardContentScrollDebounce = debounce( ...@@ -209,7 +209,7 @@ const handleCardContentScrollDebounce = debounce(
const scrollTop = event.target.scrollTop const scrollTop = event.target.scrollTop
const clientHeight = event.target.clientHeight const clientHeight = event.target.clientHeight
const scrollHeight = event.target.scrollHeight const scrollHeight = event.target.scrollHeight
isAgentAppListBottom.value = scrollTop + clientHeight >= scrollHeight isAgentAppListBottom.value = scrollTop + clientHeight + 2 >= scrollHeight
}, },
200, 200,
) )
...@@ -248,7 +248,7 @@ const handleCardContentScrollDebounce = debounce( ...@@ -248,7 +248,7 @@ const handleCardContentScrollDebounce = debounce(
</template> </template>
</NInput> </NInput>
</div> </div>
<n-scrollbar style="max-height: 700px" @scroll="handleCardContentScrollDebounce"> <n-scrollbar style="max-height: calc(100vh - 225px)" @scroll="handleCardContentScrollDebounce">
<div ref="cardContentWrapRef" class="pb-[50px]"> <div ref="cardContentWrapRef" class="pb-[50px]">
<div v-show="agentAppListLoading" class="flex h-[700px] items-center justify-center"> <div v-show="agentAppListLoading" class="flex h-[700px] items-center justify-center">
<n-spin size="large" /> <n-spin size="large" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment