Browse Source

fix(useMessage): closeIcon (#6957)

* fix(useMessage): closeIcon

* chore: del debugger
pull/7025/head
Cherry7 1 year ago committed by GitHub
parent
commit
a9f9899185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      components/message/useMessage.tsx

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

Loading…
Cancel
Save