Skip to content

Dnd list求裤衩哥解惑 #1524

@WenDaaa

Description

@WenDaaa
drag-list base on Vue.Draggable
<script> import DndList from '../components/DndList' // import { fetchList } from '@/api/article' export default { name: 'DndListDemo', components: { DndList }, data() { return { list1: [], list2: [], list:[...方便你看省略掉了..] } }, created() { this.getData() }, methods: { getData() { this.listLoading = true this.list1 = this.list.splice(0, 5) this.list2 = this.list } } } </script>

就是拖拽的时候从右边到左边没死但是从左往右拖得时候会有几项不见掉
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions