mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 16:22:57 +08:00
fix: 修改ruler位置,解决缩放问题
This commit is contained in:
parent
0fdbeb1e7a
commit
7e8d30382f
@ -4,6 +4,7 @@
|
|||||||
:style="rangeStyle"
|
:style="rangeStyle"
|
||||||
@mousedown="mousedownHandleUnStop($event, undefined)"
|
@mousedown="mousedownHandleUnStop($event, undefined)"
|
||||||
>
|
>
|
||||||
|
<edit-rule></edit-rule>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
<!-- 拖拽时的辅助线 -->
|
<!-- 拖拽时的辅助线 -->
|
||||||
<edit-align-line></edit-align-line>
|
<edit-align-line></edit-align-line>
|
||||||
@ -15,7 +16,8 @@ import { toRefs, computed } from 'vue'
|
|||||||
import { useSizeStyle } from '../../hooks/useStyle.hook'
|
import { useSizeStyle } from '../../hooks/useStyle.hook'
|
||||||
import { mousedownHandleUnStop } from '../../hooks/useDrag.hook'
|
import { mousedownHandleUnStop } from '../../hooks/useDrag.hook'
|
||||||
import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'
|
import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'
|
||||||
import { EditAlignLine } from '../EditAlignLine/index'
|
import { EditAlignLine } from '../EditAlignLine'
|
||||||
|
import { EditRule } from '../EditRule'
|
||||||
|
|
||||||
const chartEditStore = useChartEditStore()
|
const chartEditStore = useChartEditStore()
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
@drop="handleDrag"
|
@drop="handleDrag"
|
||||||
@dragover="handleDragOver"
|
@dragover="handleDragOver"
|
||||||
>
|
>
|
||||||
<edit-rule></edit-rule>
|
|
||||||
<div id="go-chart-edit-content">
|
<div id="go-chart-edit-content">
|
||||||
<!-- 展示 -->
|
<!-- 展示 -->
|
||||||
<edit-range>
|
<edit-range>
|
||||||
@ -50,7 +49,6 @@ import { ContentBox } from '../contentBox/index'
|
|||||||
import { EditRange } from './components/EditRange'
|
import { EditRange } from './components/EditRange'
|
||||||
import { EditBottom } from './components/EditBottom'
|
import { EditBottom } from './components/EditBottom'
|
||||||
import { EditShapeBox } from './components/EditShapeBox'
|
import { EditShapeBox } from './components/EditShapeBox'
|
||||||
import { EditRule } from './components/EditRule'
|
|
||||||
|
|
||||||
import { useLayout } from './hooks/useLayout.hook'
|
import { useLayout } from './hooks/useLayout.hook'
|
||||||
import { useAddKeyboard } from '../hooks/useKeyboard.hook'
|
import { useAddKeyboard } from '../hooks/useKeyboard.hook'
|
||||||
@ -96,7 +94,7 @@ onMounted(() => {
|
|||||||
@include background-image('background-point');
|
@include background-image('background-point');
|
||||||
@extend .go-point-bg;
|
@extend .go-point-bg;
|
||||||
@include goId(chart-edit-content) {
|
@include goId(chart-edit-content) {
|
||||||
padding: 25px;
|
padding: 20px;
|
||||||
border: 1px solid rgba(0, 0, 0, 0);
|
border: 1px solid rgba(0, 0, 0, 0);
|
||||||
@extend .go-transition;
|
@extend .go-transition;
|
||||||
&.content-resize {
|
&.content-resize {
|
||||||
|
Loading…
Reference in New Issue
Block a user