Find an object in the array and delete it

    let obj = this.SelectedArr.find(el =>
                    el.QuestionsId === row.QuestionsId
                )

                if (obj) {
                    this.SelectedArr.splice(this.SelectedArr.indexOf(obj), 1)
                }

Guess you like

Origin blog.csdn.net/wgb0409/article/details/119180035