Передала данные события в форму

This commit is contained in:
Daria Golova
2022-11-02 12:50:12 +03:00
parent c2aeaf714e
commit 421aa9e014
3 changed files with 11 additions and 0 deletions

View File

@@ -103,6 +103,12 @@ export default {
return [];
},
},
selectedEventData: {
type: Object,
default() {
return {};
},
},
},
data() {
return {
@@ -124,6 +130,7 @@ export default {
role: "owner",
},
kind: "",
id: null,
};
},
computed: {
@@ -245,6 +252,7 @@ export default {
},
sendEventData() {
this.eventData = {
id: this.id,
start: this.eventStartTime,
end: this.eventEndTime,
kind: this.kind,