待截取和截取完毕的
方法:
const newStr = []
this.imgList.map(item => {
newStr.push(item.substring(item.lastIndexOf('/'), item.length))
})
待截取和截取完毕的
方法:
const newStr = []
this.imgList.map(item => {
newStr.push(item.substring(item.lastIndexOf('/'), item.length))
})