From ecd2bdb5fc632e36c033ead9ce7bd6150fa68287 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Tue, 27 Jan 2026 21:37:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(workflow):=20=E4=B8=BA=E8=AF=B7=E5=81=87?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E6=B7=BB=E5=8A=A0=E6=B7=A1=E5=85=A5=E5=8A=A8?= =?UTF-8?q?=E7=94=BB=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用 motion-v 库为请假详情描述组件添加淡入动画,提升用户界面交互体验。同时调整容器最小高度以确保加载状态布局稳定。 --- .../src/views/workflow/leave/leave-description.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/apps/web-antd/src/views/workflow/leave/leave-description.vue b/apps/web-antd/src/views/workflow/leave/leave-description.vue index afe3a1e3..02364d59 100644 --- a/apps/web-antd/src/views/workflow/leave/leave-description.vue +++ b/apps/web-antd/src/views/workflow/leave/leave-description.vue @@ -7,6 +7,7 @@ import { useTimeout } from '@vueuse/core'; import { useRequest } from 'alova/client'; import { Descriptions, Skeleton } from 'antdv-next'; import dayjs from 'dayjs'; +import { motion } from 'motion-v'; import { leaveInfo } from './api'; import { leaveTypeOptions } from './data'; @@ -73,8 +74,15 @@ useTimeout(300, {