File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 8
8
9
9
< style >
10
10
.droppable-element {
11
- width : 150px ;
12
- text-align : center;
13
- background : # fdd ;
14
- border : 1px solid black;
15
- margin : 10px 0 ;
16
- padding : 10px ;
11
+ width : 150px ;
12
+ text-align : center;
13
+ background : # fdd ;
14
+ border : 1px solid black;
15
+ margin : 10px 0 ;
16
+ padding : 10px ;
17
17
}
18
18
</ style >
19
19
Original file line number Diff line number Diff line change @@ -58,10 +58,8 @@ new Vue({
58
58
this . layout = this . layout . filter ( obj => obj . i !== 'drop' ) ;
59
59
}
60
60
}
61
-
62
61
} ,
63
62
dragend :function ( e ) {
64
-
65
63
let parentRect = document . getElementById ( 'content' ) . getBoundingClientRect ( ) ;
66
64
let mouseInGrid = false ;
67
65
if ( ( ( mouseXY . x > parentRect . left ) && ( mouseXY . x < parentRect . right ) ) && ( ( mouseXY . y > parentRect . top ) && ( mouseXY . y < parentRect . bottom ) ) ) {
@@ -86,8 +84,7 @@ new Vue({
86
84
this.$refs.gridLayout.$children[this.layout.length].$refs.item.style.display="block";
87
85
} catch {
88
86
}
89
- */
90
-
87
+ */
91
88
}
92
89
} ,
93
90
} ,
You can’t perform that action at this time.
0 commit comments