fix: 新增选择联动

This commit is contained in:
MTrun
2022-01-29 23:58:56 +08:00
parent d820cce6d4
commit 825731edcc
6 changed files with 109 additions and 10 deletions
@@ -1,15 +1,22 @@
<template>
<div class="go-edit-range" :style="useSizeStyle(size)">
<div
class="go-edit-range"
:style="useSizeStyle(size)"
@mousedown="mousedownHandle($event, undefined)"
>
<slot></slot>
</div>
</template>
<script setup lang="ts">
import { useSizeStyle } from '../../hooks/useStyle.hook'
import { mousedownHandle } from '../../hooks/useLayout.hook'
const size = {
w: 1920,
h: 1080
}
</script>
<style lang="scss" scoped>