class="el-upload-list__item-delete" @click="handleRemove(file)" > </el-upload> // 图片查看器 <el-image-viewer v-if="showViewer" :initial-index="this.index" :on-close="closeViewer" :url-list="this.urlList" /> 2、声明 showViewer: false, // 显示查看器 urlList: [], // ...
</el-upload> <el-image-viewer v-if="showViewer" :initial-index="this.index" :on-close="closeViewer" :url-list="this.urlList" /> 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. ...