![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ant Design vue
foxhuli229
这个作者很懒,什么都没留下…
展开
-
vue ant文件上传组件二次封装
支持功能:多文件上传,单文件上传,文件类型限制,文件大小限制,文件个数限制(主要针对多文件上传)<template> <div> <a-spin :spinning="spinning"> <a-upload method="post" :disabled="disabled" :list-type="listType" :data="paramObj" :he原创 2021-04-16 17:12:18 · 783 阅读 · 0 评论 -
ant notification通知框 内容支持html标签
1.1 问题描述因业务需求要求 ant 的 notification 通知框中内容 需要支持 html标签。1.2 解决方案根据 官方文档的API 可以看出,提示内容可以采用以下3种类型方式。于是 选择第二种 vueNode方式。核心代码如下:/** * 其中 domProps: { innerHTML: errorMsg } 核心关键,然后 errorMsg 可以携带html标签了 * 同时还可以进行其他属性配置,具体查看 https://www.cnblogs.com/yuxiaole/原创 2021-04-14 18:02:31 · 2728 阅读 · 1 评论