![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Element-UI
Gemini_Kanon
Second place means you are the first loser.
展开
-
Element UI upload上传组件获取不到file的url
试了官网的例子,发现只有照片墙(设置list-type="picture-card"属性)能获取到file的url,其他的获取不到,但是需求还不想要那个上传的组件,后来发现新大陆。解决方法:使用如下方法重新创建一个url供img标签使用URL.createObjectURL(file.raw);...原创 2022-01-18 16:51:45 · 3852 阅读 · 1 评论 -
Element UI中Steps 步骤条description描述换行展示
突然要求加了个显示字段,之前的代码只能显示一行,于是乎找到了解决办法,代码如下:其中的属性自行到官网查看释义吧:Element UI官网传送门<el-table> <!-- 可展开的表格 --> <el-table-column type="expand"> <template slot-scope="props"> <el-steps :active="props.row.progressB原创 2022-01-04 16:51:18 · 5109 阅读 · 2 评论 -
【学习记录贴】Vue+Element-UI富文本编辑框及插入图片
本贴会涉及到一下几个技术点:Vue+Element-UI实现富文本编辑框,以及文本编辑框中事件拦截、插入图片 Element-UI限制上传图片后,隐藏上传按钮 form表单验证首先安装一下插件vue-quill-editor,用cnpm也可以的npm install vue-quill-editor --save引用:import { quillEditor } from "vue-quill-editor";import "quill/dist/quill.core.css";原创 2021-11-09 15:10:51 · 6857 阅读 · 4 评论