![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
element-ui
六哲1
这个作者很懒,什么都没留下…
展开
-
element-ui使用心得之三:怎么看element官方文档
直接先说最常用的一、使用组件 以el-input为例1. Attributes: attributes属性直接在组件上引用,前面的checkbox表示引用的标签,比如:<template> <el-input type="number"></el-input> // type为字符串的话可以直接写 <el-input :type="inputType"></el-input> <el-input v-bind:type原创 2020-10-31 12:54:48 · 2174 阅读 · 1 评论 -
element-ui使用心得之二:el-upload上传文件自定义上传参数
HTML<el-upload class="upload-demo" action="https://www.baidu.com" // url :headers="headers" // 请求头,一般填token、orgid等身份校验信息 :with-credentials="true" // 自动获取cookie :data="uploadDataReq" // url中带的参数 :before-upload="checkFil原创 2020-08-29 15:29:44 · 4151 阅读 · 0 评论 -
element-ui使用心得之一:date-picker限制可选范围区间
el-date-picker中的picker-options属性用来控制不可选日期区域和今天、明天等快捷选择官方文档提供的demo中只有大于某个日期不可选我们发现disabledDate最后return了一个返回值,我们修改这个返回值来实现大于某个日期小于某个日期都不可选,也就是设定了可选范围直接上代码:HTML:<el-date-picker v-model="beginTime" :type="dateType" :picker-options="pickerOptio.原创 2020-07-04 08:54:24 · 6337 阅读 · 2 评论