Commit 591fbf22 authored by nature's avatar nature

placeholder 处理

parent a645de15
......@@ -8,9 +8,9 @@
<div class="review-wrap">
<div v-for="(item,index) in fileList" v-if="previewImage" class="review-img">
<img v-lazy="item.content" :key="index" @click="showBigPic(index)">
<i v-if="deleteImage" class="icon ion-trash-a" @click="deleteFile(item,index)"/>
<i v-if="deleteImage && !disabled" class="icon ion-trash-a" @click="deleteFile(item,index)"/>
</div>
<section v-show="fileList.length < maxCount" class="file-upload">
<section v-show="fileList.length < maxCount && !disabled" class="file-upload">
<slot/>
<img v-if="!slot" class="default-img" src="./plus.png">
<input
......@@ -198,6 +198,7 @@ export default {
}) */
if (isFunction(uploadSuccess)) {
uploadSuccess(itemFile, result)
vm.$emit('success', itemFile, result)
}
if (vm.uploadFiles.length > 0) {
vm.onUploadFile()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment