diff --git a/components/message/useMessage.tsx b/components/message/useMessage.tsx index b81a07b3b..c2fc8992f 100644 --- a/components/message/useMessage.tsx +++ b/components/message/useMessage.tsx @@ -1,7 +1,7 @@ import { shallowRef, computed, defineComponent } from 'vue'; import { useNotification as useVcNotification } from '../vc-notification'; import type { NotificationAPI } from '../vc-notification'; -import CloseOutlined from '@ant-design/icons-vue'; +import CloseOutlined from '@ant-design/icons-vue/CloseOutlined'; import useStyle from './style'; import type { MessageInstance, @@ -80,7 +80,6 @@ const Holder = defineComponent({ ); - // ============================== Origin =============================== const [api, holder] = useVcNotification({ //@ts-ignore