Skip to content

Commit bc07a50

Browse files
committed
'添加拖拽组件介绍'
1 parent a143dea commit bc07a50

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/page/DragList.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
</el-breadcrumb>
77
</div>
88
<div class="container">
9+
<div class="plugins-tips">
10+
Vue.Draggable:基于 Sortable.js 的 Vue 拖拽组件。
11+
访问地址:<a href="https://github.com/SortableJS/Vue.Draggable" target="_blank">Vue.Draggable</a>
12+
</div>
913
<div class="drag-box">
1014
<div class="drag-box-item">
1115
<div class="item-title">todo</div>
@@ -49,6 +53,7 @@
4953
return {
5054
dragOptions:{
5155
animation: 120,
56+
scroll: true,
5257
group: 'sortlist',
5358
ghostClass: 'ghost-style'
5459
},
@@ -123,7 +128,7 @@
123128
}
124129
.item-ul{
125130
padding: 0 8px 8px;
126-
height: 600px;
131+
height: 500px;
127132
overflow-y: scroll;
128133
}
129134
.item-ul::-webkit-scrollbar{

0 commit comments

Comments
 (0)