This commit is contained in:
2025-03-22 17:15:35 +00:00
parent 0e11c4153d
commit 8a54bb29fb
11 changed files with 204 additions and 32 deletions

View File

@@ -53,14 +53,14 @@ class ComponentsStore {
);
}
addComponent(componentsId: string, data:Record<string, unknown>) {
addComponent(widgetsId: string, data:Record<string, unknown>) {
this.components.push({
id: String(this.components.length),
x: 0,
y: 0,
width: 0,
height: 0,
componentsId,
widgetsId,
data,
})
}