空状态不完全显示

This commit is contained in:
lq
2025-09-25 16:17:51 +08:00
parent 064cc3c9f6
commit 435674babc
2 changed files with 31 additions and 19 deletions

View File

@ -25,7 +25,7 @@
:columns="columns"
:data="data"
:bordered="{ cell: true }"
:scroll="{ x: 'max-content', y: 600 }"
:scroll="{ x: 'max-content' }"
style="width: 100%"
:pagination="false"
@change="handleTableChange"
@ -33,7 +33,7 @@
>
<!-- 空数据显示 -->
<template #empty>
<div class="flex flex-col items-center justify-center">
<div class="flex flex-col items-center justify-center" style="min-height: 400px;">
<img :src="emptyIcon" class="img mt-20px" alt="暂无数据" width="106" height="72" />
<div class="text mt-36px">暂无数据</div>
<div class="mt-12px mb-12px">可通过账号管理添加账号进行任务排期管理</div>
@ -516,7 +516,7 @@ const handleTaskAction = async (action: string, task: any, ...args: any[]) => {
// 显示抽屉
drawerPopupRef.value.showDrawer(accountInfo, date);
// 等待抽屉打开后再填充数据
nextTick(() => {
// 将任务信息回填到draw-popup组件
@ -607,7 +607,7 @@ onMounted(() => {
}
.no-task {
height: 30px;
min-height: 42px;
display: flex;
align-items: center;
justify-content: center;
@ -641,11 +641,7 @@ onMounted(() => {
display: flex;
flex-direction: column;
align-items: start;
height: 42px;
}
:deep(td.today-column) .arco-table-cell-wrap {
color: white !important;
min-height: 42px;
}
/* 抽屉左侧圆角样式 */