0👍
✅
The Problem was that i was not Binding it with flowchartdecision component when i bind it works fine and i was calling it inself another component thats why it was not working fine
0👍
Please try using deepCopy to change reference:
adddecision(y,nid,x){
this.scene.decisions.push({
id: '',
x: '',
y: '',
type: '',
label: '',
})
this.scene = JSON.parse(JSON.stringify(this.scene))
}
Source:stackexchange.com