fix: resolve antd to do

This commit is contained in:
dylanmay
2025-11-28 15:41:17 +08:00
parent ffc48fa171
commit 0d0d9e30c0
3 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ onMounted(async () => {
<template>
<Grid class="image-table-grid mt-4 pb-0">
<template #toolbar-tools>
<slot name="toolbar-tools" />
<slot name="toolbar-tools"></slot>
</template>
<template #image="{ row }">
<div class="flex items-center justify-center" style="height: 192px">

View File

@@ -66,7 +66,7 @@ watch(
<template>
<Grid class="mt-4">
<template #toolbar-tools>
<slot name="toolbar-tools" />
<slot name="toolbar-tools"></slot>
</template>
<template #video="{ row }">
<WxVideoPlayer v-if="row.url" :url="row.url" />

View File

@@ -107,7 +107,7 @@ function showTotal(total: number) {
<template>
<Page auto-content-height class="flex flex-col">
<!-- 搜索工作栏 -->
<div class="bg-background mb-4 rounded-lg p-4">
<div class="mb-4 rounded-lg bg-background p-4">
<Form
ref="queryFormRef"
:model="queryParams"
@@ -165,7 +165,7 @@ function showTotal(total: number) {
</div>
<!-- 列表 -->
<div class="bg-background flex-1 rounded-lg p-4">
<div class="flex-1 rounded-lg bg-background p-4">
<MessageTable :list="list" :loading="loading" @send="handleSend" />
<div v-show="total > 0" class="mt-4 flex justify-end">
<Pagination