ly525/luban-h5

辅助线的参考数组应该排除‘lbp-background’组件

Open

#163 opened on May 16, 2020

View on GitHub
 (3 comments) (0 reactions) (1 assignee)JavaScript (5,912 stars) (1,239 forks)batch import
enhancementfeaturehelp wanted

Description

const referElements = this.elements.filter(e => e.uuid !== uuid)

可以改为

  const referElements = this.elements.filter(e => e.uuid !== uuid && e.name !== 'lbp-background')

否则会出现无意义的辅助对齐线

Contributor guide