- 博客(2)
- 收藏
- 关注
原创 图片上传到阿里oss和下载到本地 vue
前端上传图片和下载通过后端接口上传图片上传 file 对象给接口<input type="file" ref="fileinput" name="fileContent" @input="getinfo($event)" style="display:none"><img src="" ref="imagesss" class="showimgs" /> getinfo(el){ if( this.$refs.fileinput.files.lengt
2020-12-07 19:28:39
1370
原创 vue使用 render 渲染函数时,动态生成的 Input 自动获取焦点
在使用 iview 的 render 渲染函数时,我们动态生成的 Input 输入框,自动获取焦点时,只能第一次获取到焦点,我们可以使用原生的 js 获取焦点,使用ref 无效,原因未知。render:(h,params)=>{ if( params.row.$editablejiage ) { return h('Input',{ props: {
2020-11-23 10:43:44
1776
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人