simple-flow-chart icon indicating copy to clipboard operation
simple-flow-chart copied to clipboard

同一个页面有多个流程图的情况下,如何避免重复触发事件?

Open prometheus-alien opened this issue 1 year ago • 0 comments

<SimpleFlowChart
	v-model="item.steps"
	readonly
	:showScaleBar="false"
	@node-content-click="handleNodeClick"
>
				</SimpleFlowChart>

代码如上。 emitter.emit('node-content-click', this.data, this.nodeList) 这行代码会通知页面上所有的SimpleFlowChart实例。有什么办法解决么?

prometheus-alien avatar Oct 05 '24 06:10 prometheus-alien