How does vue get the image path under the array and render it to the page?

after ajax requests the data, how to get the picture in the array under data

var res=await $.ajax({


Jan.03,2022

html
<div class="carousel-item" v-for="key in list">
    <img :src="key.img"/>
</div>




script
new Vue({
        el:"-sharpdemo1",
        data:{
            res:[],
            type:[{data:'img'}]
            list:[]//
        }
    })

vmurfort = "item in res.data"


extract the corresponding value before cycling that array

Menu