mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-09 16:03:14 +08:00
update: 去除alert
This commit is contained in:
@@ -3,12 +3,7 @@ import type { LeaveVO } from '../leave/api/model';
|
|||||||
|
|
||||||
import { computed, onMounted, shallowRef } from 'vue';
|
import { computed, onMounted, shallowRef } from 'vue';
|
||||||
|
|
||||||
import {
|
import { Descriptions, DescriptionsItem, Skeleton } from 'ant-design-vue';
|
||||||
Alert,
|
|
||||||
Descriptions,
|
|
||||||
DescriptionsItem,
|
|
||||||
Skeleton,
|
|
||||||
} from 'ant-design-vue';
|
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
|
|
||||||
import { leaveInfo } from './api';
|
import { leaveInfo } from './api';
|
||||||
@@ -41,12 +36,6 @@ function formatDate(date: string) {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="rounded-[6px] border p-2">
|
<div class="rounded-[6px] border p-2">
|
||||||
<Alert
|
|
||||||
class="mb-4"
|
|
||||||
type="success"
|
|
||||||
show-icon
|
|
||||||
message="新版已经重构为映射组件方式来显示详情 来替代原来的iframe方案 加载速度更快(该提示会在发版前去除)"
|
|
||||||
/>
|
|
||||||
<Descriptions v-if="data" :column="1" size="middle">
|
<Descriptions v-if="data" :column="1" size="middle">
|
||||||
<DescriptionsItem label="请假类型">
|
<DescriptionsItem label="请假类型">
|
||||||
{{ leaveType }}
|
{{ leaveType }}
|
||||||
|
|||||||
Reference in New Issue
Block a user