ly525/luban-h5

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

Open

#163 geöffnet am 16. Mai 2020

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (5.912 Stars) (1.239 Forks)batch import
enhancementfeaturehelp wanted

Beschreibung

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

可以改为

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

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

Contributor Guide