空状态不完全显示
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
/* 抽屉左侧圆角样式 */
|
||||
|
||||
Reference in New Issue
Block a user