All I have now is an ‘event’ parameter.I don't know how to get the change data I need like this:
listeners: {
change(event) {
console.log(JSON.stringify(event.store.toJSON()))
// [{"id":"44de0dcb-29d4-410e-98ee-8f38984cc1dc","parentIndex":0,"startDate":"2021-11-10T00:00:00+08:00","endDate":"2021-11-12T00:00:00+08:00","duration":2,"durationUnit":"day","cls":"","iconCls":null,"style":null,"name":"23","direction":"Forward","manuallyScheduled":false,"constraintType":"startnoearlierthan","constraintDate":"2021-11-10T00:00:00+08:00","percentDone":0,"inactive":null,"effort":24,"effortUnit":"hour","effortDriven":false,"schedulingMode":"Normal","expanded":null,"baselines":[],"note":null,"parentId":null,"showInTimeline":null,"rollup":null,"deadlineDate":null,"taskIconCls":null,"phantomId":null},{"id":"0b5c90db-b005-4670-95f8-9cc5c835a2a0","parentIndex":1,"startDate":"2021-11-14T00:00:00+08:00","endDate":"2021-11-15T00:00:00+08:00","duration":1,"durationUnit":"day","cls":"","iconCls":null,"style":null,"name":"1212122332","direction":"Forward","manuallyScheduled":false,"constraintType":"startnoearlierthan","constraintDate":"2021-11-12T00:00:00+08:00","percentDone":0,"inactive":null,"effort":24,"effortUnit":"hour","effortDriven":false,"schedulingMode":"Normal","expanded":null,"baselines":[],"note":null,"parentId":null,"showInTimeline":null,"rollup":null,"deadlineDate":null,"taskIconCls":null,"phantomId":null},{"id":"563da802-ec77-41fa-bb12-abf362e516a0","parentIndex":2,"startDate":"2021-11-10T00:00:00+08:00","endDate":"2021-11-11T00:00:00+08:00","duration":1,"durationUnit":"day","cls":"","iconCls":null,"style":null,"name":"New task","direction":"Forward","manuallyScheduled":false,"constraintType":"startnoearlierthan","constraintDate":"2021-11-10T00:00:00+08:00","percentDone":0,"inactive":null,"effort":24,"effortUnit":"hour","effortDriven":false,"schedulingMode":"Normal","expanded":null,"baselines":[],"note":null,"parentId":null,"showInTimeline":null,"rollup":null,"deadlineDate":null,"taskIconCls":null,"phantomId":null}]
}
},