Skip to content

Commit

Permalink
fix:issue #360
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiFeiYa authored and ly525 committed Dec 5, 2021
1 parent 07ae0f8 commit cee3673
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions front-end/h5/src/components/core/editor/canvas/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import Shape from 'core/support/shape'
import ContextMenu from 'core/support/contexmenu'

export default {
name:'Edit',
props: ['elements', 'handleClickElementProp', 'handleClickCanvasProp'],
data: () => ({
vLines: [],
Expand Down Expand Up @@ -76,7 +75,6 @@ export default {
const eyCoords = [etop + eheight, etop + (eheight / 2), etop]
let hasVLine = false
let hasHLine = false
// 吸附效果的时候需要判断当前拖拽的是哪个点,不同的点操作的是不同的
exCoords.forEach(eX => {
referElementsXCoords.forEach(referX => {
let offset = referX - eX
Expand Down

0 comments on commit cee3673

Please sign in to comment.