Must first copy
{showLabel the let, ActualValue} = the this .record; the let Show = the this .rowData [showLabel]; the let Actual = the this .rowData [ActualValue]; const { formGroup } = the this . $ store.state.right; const {dispatch} = the this . $ Store; the let Group = _.cloneDeep (formGroup) // this step must, if the direct formGroup.map (...) in response to data not const newFormGroup = Group .map (Item => { IF (item.componentx === "Modal" ) { Item = { ...item, uniqueKey:createUuid() } return (item = { ...item, initValue: show, actualValue: actual }); } else { return item; } }); dispatch("right/updateFormGroup", newFormGroup); this.visible = false;