fix(useMessage): closeIcon (#6957)

* fix(useMessage): closeIcon

* chore: del debugger
pull/7025/head
Cherry7 2023-10-15 20:50:38 -05:00 committed by GitHub
parent c99e9b00bd
commit a9f9899185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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({
<CloseOutlined class={`${prefixCls.value}-close-icon`} />
</span>
);
// ============================== Origin ===============================
const [api, holder] = useVcNotification({
//@ts-ignore