Commit 19dfcd47 authored by nick zheng's avatar nick zheng

chore: 补充应用缺省页及修正查询条件

parent ffc96fbf
......@@ -121,6 +121,7 @@ function handleDeletePersonalApp(agentId: string) {
const res = await fetchDeleteApplication(agentId)
if (res.code === 0) {
window.$message.success('删除成功')
agentAppList.value.length === 1 && (pagingInfo.value.pageNo = pagingInfo.value.pageNo - 1)
await handleGetApplicationList()
}
},
......@@ -183,7 +184,16 @@ async function handleGetApplicationListUpdatePageSize(pageSize: number) {
:columns="columns"
:max-height="tableContentY"
:scroll-x="1330"
/>
>
<template #empty>
<div :style="{ height: tableContentY + 'px' }" class="flex items-center justify-center">
<div class="flex flex-col items-center justify-center">
<img src="@/assets/images/empty.png" alt="empty" class="mb-2 h-[160px] w-[230px]" />
<p class="text-base text-[#84868c]">暂无应用</p>
</div>
</div>
</template>
</NDataTable>
</div>
<footer class="flex justify-end">
......
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