Vue uses picture-card of el-upload in element-ui

how do I render the images, returned by the API to the photo wall of element-ui?

clipboard.png

clipboard.png

Baidu on its own for a long time, did not find similar problems ~ help you giant!

Mar.12,2021

:file-list="fileList"
data() {
      return {
        fileList: [{name: 'food.jpeg', url: 'https://img.codeshelper.com/upload/img/2021/03/12/1dtp0dmsqgm7497.jpg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}, {name: 'food2.jpeg', url: 'https://img.codeshelper.com/upload/img/2021/03/12/1dtp0dmsqgm7497.jpg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}]
      };
    },

put the array returned by the backend into filelist

Menu