feat: 优化拖动组件逻辑,加入tailwind支持,更新readme

This commit is contained in:
539943419 committed 2025-03-17 20:23:33 +08:00
1 parent 34d7c7df30
commit 42479f2265
14 files changed
+477 -95

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
<template>
<div
class="container"
class="miao-drop-container"
@dragover="handleDragOver"
@dragleave="handleDragLeave"
@drop="handleDrop">
@@ -123,7 +123,7 @@ const handleDrop = async (event: DragEvent) => {
</script>
<style lang="scss" scoped>
.container {
.miao-drop-container {
width: 100%;
height: 100%;
position: relative;