javascript - Problems with previewing images uploaded by vue
扔个三星炸死你
扔个三星炸死你 2017-06-26 10:52:32
0
1
634

As shown in the figure, this code implements the function of uploading preview images. But here, the path of the uploaded image is saved directly in items. If there are multiple fields such as title, img, etc. in items, how can I save the path of the uploaded image in the img field of items?

扔个三星炸死你
扔个三星炸死你

reply all (1)
扔个三星炸死你
vue.items.push({img: this.result})
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!