feat: 优化拖动组件逻辑,加入tailwind支持,更新readme
This commit is contained in:
1 parent
34d7c7df30
commit
42479f2265
14 files changed
+477
-95
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user