fix: repair platform admin navigation UI

This commit is contained in:
david
2026-07-28 22:32:08 +08:00
parent abc281b49b
commit e3575465d0
6 changed files with 24 additions and 17 deletions

View File

@@ -46,7 +46,6 @@
</a-table-column>
</template>
</a-table>
<a-empty v-if="!loading && list.length === 0" description="暂无符合条件的数据" />
<div class="pagination"><a-pagination :total="total" :current="page" :page-size="pageSize" show-total show-jumper @change="changePage" /></div>
</a-card>

View File

@@ -1,6 +1,14 @@
<template>
<TreePage v-if="definition.pageKind === 'tree'" :definition="definition" />
<CrudListPage v-else :definition="definition" />
<TreePage
v-if="definition.pageKind === 'tree'"
:key="definition.resource"
:definition="definition"
/>
<CrudListPage
v-else
:key="definition.resource"
:definition="definition"
/>
</template>
<script setup lang="ts">