杨__羊羊
let arr = [{ fieldName: 'hello', valueVOs: []}, { fieldName: 'hello', valueVOs: []}, { fieldName: '会议介绍', valueVOs: []}, { fieldName: 'hello', valueVOs: []}, { fieldName: 'hello', valueVOs: []}]function trans (arr) { let index = arr.findIndex(a => a.fieldName === '会议介绍') // 获取特定元素下标 if (index !== -1) { return [arr.slice(0, index), arr.slice(index)] } return [arr.slice()]}trans(arr)