fix: repair platform admin navigation UI
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="logo">
|
||||
<img alt="和气平台" src="@/assets/logo.svg" />
|
||||
<img alt="和气平台" :src="logoUrl" />
|
||||
<div class="logo-text">和气平台总后台</div>
|
||||
</div>
|
||||
<LoginBanner />
|
||||
@@ -17,6 +17,7 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import logoUrl from '@/assets/logo.svg?url';
|
||||
import Footer from '@/components/footer/index.vue';
|
||||
import LoginBanner from './components/login-banner.vue';
|
||||
import LoginForm from './components/login-form.vue';
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user