fix(useMessage): closeIcon (#6957)
* fix(useMessage): closeIcon * chore: del debuggerpull/7025/head
parent
c99e9b00bd
commit
a9f9899185
|
@ -1,7 +1,7 @@
|
||||||
import { shallowRef, computed, defineComponent } from 'vue';
|
import { shallowRef, computed, defineComponent } from 'vue';
|
||||||
import { useNotification as useVcNotification } from '../vc-notification';
|
import { useNotification as useVcNotification } from '../vc-notification';
|
||||||
import type { NotificationAPI } 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 useStyle from './style';
|
||||||
import type {
|
import type {
|
||||||
MessageInstance,
|
MessageInstance,
|
||||||
|
@ -80,7 +80,6 @@ const Holder = defineComponent({
|
||||||
<CloseOutlined class={`${prefixCls.value}-close-icon`} />
|
<CloseOutlined class={`${prefixCls.value}-close-icon`} />
|
||||||
</span>
|
</span>
|
||||||
);
|
);
|
||||||
|
|
||||||
// ============================== Origin ===============================
|
// ============================== Origin ===============================
|
||||||
const [api, holder] = useVcNotification({
|
const [api, holder] = useVcNotification({
|
||||||
//@ts-ignore
|
//@ts-ignore
|
||||||
|
|
Loading…
Reference in New Issue