Vue 用“,”分割数组

let Object = {123456,789021}

let imgArr = []
imgArr = this.Object.split(',')

Vue 遍历数组

let newImgUrl = ['1','2','3']
imgArr.filter((item, i) => {
    // do
})

 

Logo

前往低代码交流专区

更多推荐