|
@@ -25,6 +25,12 @@
|
|
|
}"></i>
|
|
|
</label>
|
|
|
<i class="el-icon-close" @click="$emit('remove', file)"></i>
|
|
|
+ <el-progress
|
|
|
+ v-if="file.status === 'uploading'"
|
|
|
+ :type="listType === 'picture-card' ? 'circle' : 'line'"
|
|
|
+ :stroke-width="listType === 'picture-card' ? 6 : 2"
|
|
|
+ :percentage="parsePercentage(file.percentage)">
|
|
|
+ </el-progress>
|
|
|
<span class="el-upload-list__item-actions" v-if="listType === 'picture-card'">
|
|
|
<span
|
|
|
class="el-upload-list__item-preview"
|
|
@@ -40,12 +46,6 @@
|
|
|
<i class="el-icon-delete2"></i>
|
|
|
</span>
|
|
|
</span>
|
|
|
- <el-progress
|
|
|
- v-if="file.status === 'uploading'"
|
|
|
- :type="listType === 'picture-card' ? 'circle' : 'line'"
|
|
|
- :stroke-width="listType === 'picture-card' ? 6 : 2"
|
|
|
- :percentage="parsePercentage(file.percentage)">
|
|
|
- </el-progress>
|
|
|
</li>
|
|
|
</transition-group>
|
|
|
</template>
|