Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
GopherJ committed Jul 6, 2018
1 parent d379065 commit 525f3b4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/LayoutGrid.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/LayoutGrid.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/LayoutGrid.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-layout-grid",
"version": "0.1.2",
"version": "0.1.3",
"description": "layout gridster with vue",
"main": "dist/LayoutGrid.min.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions src/components/LayoutGrid/LayoutGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
},
onResize(i, h, w) {
this.$emit('resize', i, h, w);
this.DELETE_LAYOUT_ITEM_IN_CACHE(i);
const component = this.getComponentById(i);
// dynamic component
Expand All @@ -221,6 +222,7 @@
},
onResized(i, h, w, hpx, wpx) {
this.$emit('resized', i, h, w, hpx, wpx);
this.DELETE_LAYOUT_ITEM_IN_CACHE(i);
const component = this.getComponentById(i);
// dynamic component
Expand Down

0 comments on commit 525f3b4

Please sign in to comment.