Skip to content

Commit e267182

Browse files
authored
Update GridItem.vue
1 parent a85022e commit e267182

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GridItem.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@
323323
this.lastH = y;
324324
325325
eventBus.$emit("resizeEvent", event.type, this.i, this.x, this.y, pos.h, pos.w);
326-
this.$emit("resized", this.i, this.x, this.y, pos.h, pos.w);
326+
this.$emit("resized", this.i, pos.h, pos.w);
327327
},
328328
handleDrag(event) {
329329
if (this.isResizing) return;
@@ -376,7 +376,7 @@
376376
this.lastY = y;
377377
378378
eventBus.$emit("dragEvent", event.type, this.i, pos.x, pos.y, this.h, this.w);
379-
this.$emit("moved", this.i, this.x, this.y, pos.h, pos.w);
379+
this.$emit("moved", this.i, pos.x, pos.y);
380380
},
381381
calcPosition: function(x, y, w, h) {
382382
const colWidth = this.calcColWidth();

0 commit comments

Comments
 (0)