![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
element ui
tyjlearning
这个作者很懒,什么都没留下…
展开
-
vue img转canvas页面展示下载
<template> <div> <h2> TestCanvas </h2> <img v-show="false" ref="myImg" src="../assets/logo.png" > <canvas ref="myCanv.转载 2020-06-29 11:34:16 · 1291 阅读 · 0 评论 -
element-ui upload组件 on-remove事件 传自定义参数
1.html<el-form-item label="附件上传" prop="" > <!--:file-list="item.fileList"--> <el-upload class="" action="#" list-type="picture-card" :on-previ...原创 2020-04-20 19:05:47 · 12555 阅读 · 3 评论 -
Vue element ui 多层嵌套表单验证
1.html<el-form ref="expenseApplyForm" :model="expenseApplyData" :rules="expenseApplyRules" label-width="160px"> <el-form-item label="单号" prop=""> <el-input v-model="expe...原创 2020-04-20 11:09:06 · 2160 阅读 · 0 评论 -
element ui 手动清除表单效验提示语
<el-form ref="loginForm" :model="user" :rules="loginRules" size="large"></el-form>changeType(){ this.type = this.type == 2?1:2; this.clearVail(); // this.user.name = ''; ...原创 2020-04-09 10:05:15 · 3320 阅读 · 0 评论 -
element ui 循环表单验证提交展示
1.表单<el-form v-for="(item , index) in mainInfo" :model="mainInfo[index]" :ref="'mainInfoForm'+index" :rules="mainInfoRules" label-width="160px"> <el-tag type="info" style="margin-left:...原创 2020-04-08 15:11:40 · 1858 阅读 · 0 评论