<template>
<div>
<el-upload class="avatar-uploader" ref="upload" :limit="10" multiple :on-exceed="handleExceed"
:show-file-list="false" action="https://jsonplaceholder.typicode.com/posts/" :on-change="handlePreview"
:file-list="fileList" :on-remove="handlePreview" :auto-upload="false">
<i class="el-icon-upload" slot="trigger"></i>
</el-upload>
<div v-if="fileList.length != 0" class="label_remarks">
<div style="font-size: 12px;color:#bbb;">标签可用空格分隔, 批量添加, 每个图片/视频最多不超过4个标签</div>
<!-- 固定标签 -->
<div>
<span v-for="(item, index) in fixedLabelOptions" :key="index" @click="selectFixedLabel(item.labelName)"><a
href=&#
最后
以上就是单身发卡最近收集整理的关于element-ui—— el-upload 自定义上传文件显示列表及固定标签的添加的全部内容,更多相关element-ui——内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复