diff --git a/src/Grid.vue b/src/Grid.vue index a258b0ee668b089728c7f3601ce50590e8f25991..2dcf7acd8c1907525cefddd39acbf0993b2e1707 100644 --- a/src/Grid.vue +++ b/src/Grid.vue @@ -17,6 +17,7 @@ :h="item.h" > </DragContainer> + <slot></slot> </div> </template> @@ -56,7 +57,7 @@ export default { } } } - if (this.posValidation) return this.posValidation(x, y); + if (this.posValidation) return this.posValidation(x, y, key); return true; }, handleDragOver(event) {