fix #I4VZCZ canvas自适应

This commit is contained in:
感觉
2022-03-21 06:22:44 +00:00
committed by Gitee
parent 000263e092
commit 4037cc0425

View File

@ -96,6 +96,8 @@ export default {
}
// 高亮流程图
await this.highlightDiagram();
const canvas = this.bpmnModeler.get('canvas');
canvas.zoom("fit-viewport", "auto");
} catch (e) {
console.error(e);
// console.error(`[Process Designer Warn]: ${e?.message || e}`);