We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c16ae6 commit 7a67fb9Copy full SHA for 7a67fb9
src/components/bpmnProcessDesigner/package/designer/ProcessViewer.vue
@@ -96,6 +96,8 @@ export default {
96
}
97
// 高亮流程图
98
await this.highlightDiagram();
99
+ const canvas = this.bpmnModeler.get('canvas');
100
+ canvas.zoom("fit-viewport", "auto");
101
} catch (e) {
102
console.error(e);
103
// console.error(`[Process Designer Warn]: ${e?.message || e}`);
0 commit comments