调整自动引入

This commit is contained in:
aixianling
2024-10-31 16:22:41 +08:00
parent 37c4ff83cb
commit d6a5246f17
53 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
<template>
<section class="VDrag">
<vuedraggable v-bind="$attrs" @change="handleChange">
<slot/>
</vuedraggable>
</section>
</template>
<script>
import vuedraggable from 'vuedraggable'
export default {
name: "VDrag",
components: {vuedraggable},
data: () => ({
moveEvt: null
}),
methods: {
handleChange(moved) {
this.$emit('move', moved)
}
}
}
</script>
<style lang="scss" scoped>
.VDrag {
}
</style>