网站首页
编程语言
数据库
系统相关
其他分享
编程问答
clearTimer
2024-08-26
notification ant插件 封装notification 防止多个相同的错误提示同时展示 message也一样
import{notification}from'ant-design-vue'typeNoticeType='info'|'success'|'error'|'warning'//保证notification提示不重复constmessageSet=newSet();letclearTimer:number|undefined;interf