mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增拖拽功能
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div
|
||||
class="go-edit-range"
|
||||
:style="useSizeStyle(size)"
|
||||
@mousedown="mousedownHandle($event, undefined)"
|
||||
@mousedown="mousedownHandleUnStop($event, undefined)"
|
||||
>
|
||||
<slot></slot>
|
||||
</div>
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useSizeStyle } from '../../hooks/useStyle.hook'
|
||||
import { mousedownHandle } from '../../hooks/useLayout.hook'
|
||||
import { mousedownHandleUnStop } from '../../hooks/useLayout.hook'
|
||||
|
||||
const size = {
|
||||
w: 1920,
|
||||
|
||||
Reference in New Issue
Block a user