<img :src="getImgUrl(row.img)"> compoted: { getImgUrl (img) { return img => { return require('../../assets/img' + img) } } }