| | |
| | | </el-upload> |
| | | <br/> |
| | | <div v-show="progressFlag"> |
| | | <el-progress :text-inside="true" :stroke-width="30" :percentage="progressPercent" :format="format"></el-progress> |
| | | <el-progress :text-inside="true" :stroke-width="10" :percentage="progressPercent" :format="format"></el-progress> |
| | | </div> |
| | | |
| | | <ul class="el-upload-list el-upload-list--text" v-if="!image && !crop && !onlyUploadFile"> |
| | |
| | | if (val) { |
| | | if (val.length > 0) { |
| | | if (!this.multiple) { // 单选 |
| | | console.log(val, 'getUploadList val') |
| | | return val |
| | | } else { |
| | | console.log([...val], 'getUploadList [...val]') |
| | | return [...val] |
| | | } |
| | | } else { |