mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-27 01:32:03 +08:00
fix #I4VZCZ canvas自适应
This commit is contained in:
parent
000263e092
commit
4037cc0425
@ -96,6 +96,8 @@ export default {
|
|||||||
}
|
}
|
||||||
// 高亮流程图
|
// 高亮流程图
|
||||||
await this.highlightDiagram();
|
await this.highlightDiagram();
|
||||||
|
const canvas = this.bpmnModeler.get('canvas');
|
||||||
|
canvas.zoom("fit-viewport", "auto");
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
// console.error(`[Process Designer Warn]: ${e?.message || e}`);
|
// console.error(`[Process Designer Warn]: ${e?.message || e}`);
|
||||||
|
Loading…
Reference in New Issue
Block a user