fix BPMN multiple selection bug

This commit is contained in:
Cindy Chang
2024-08-27 11:14:13 +08:00
parent b72d87fb52
commit 49b8233909

View File

@@ -226,9 +226,11 @@ export default {
* switch map type * switch map type
* @param {string} type 'processMap' | 'bpmn',可傳入以上任一。 * @param {string} type 'processMap' | 'bpmn',可傳入以上任一。
*/ */
switchMapType(type) { async switchMapType(type) {
const mapPathStore = MapPathStore();
this.mapType = type; this.mapType = type;
this.createCy(type); this.createCy(type);
await mapPathStore.setCytoscape(this.cytoscapeGraph);
}, },
/** /**
* switch curve style * switch curve style