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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e36deb-42ec7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e36deb-42ec7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?