From 2fef10f07e65ce6f703c8043085e5728bd311d1e Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期五, 02 八月 2024 17:16:40 +0800 Subject: [PATCH] 修改 --- web/src/views/modules/taskReliability/TimeDiagramTemp.vue | 30 ------------------------------ 1 files changed, 0 insertions(+), 30 deletions(-) diff --git a/web/src/views/modules/taskReliability/TimeDiagramTemp.vue b/web/src/views/modules/taskReliability/TimeDiagramTemp.vue index f5fa205..8deee7a 100644 --- a/web/src/views/modules/taskReliability/TimeDiagramTemp.vue +++ b/web/src/views/modules/taskReliability/TimeDiagramTemp.vue @@ -372,20 +372,11 @@ if (res.data !== null && res.data.content != null) { this.dataForm = res.data this.diagramJson = JSON.parse(this.dataForm.content) - // console.log(this.dataForm.content,'this.Diagram content') console.log(this.diagramJson, 'this.Diagram json') this.graph.fromJSON(this.diagramJson) - // this.graph.centerContent() - // this.graph.zoomToFit() } else { this.dataForm.id = null - // await this.$alert('璇ラ」鐩繕鏈紪鍒剁綉缁滃浘', '鎻愮ず', { - // confirmButtonText: '纭畾' - // }) this.graph.fromJSON(this.emptyJson) - // this.graph.centerContent() - // this.graph.zoomToFit() - // this.graph.freeze() } }, init() { @@ -414,19 +405,6 @@ }) } }, - // translating: { - // restrict(view) { - // const cell = view.cell - // if (cell.isNode()) { - // const parent = cell.getParent() - // if (parent) { - // return parent.getBBox() - // } - // } - // - // return null - // }, - // }, onToolItemCreated({tool}) { const handle = tool const options = handle.options @@ -492,14 +470,6 @@ text: '' } }, - // position: { - // distance: 0.5, - // angle: 180, - // options: { - // keepGradient: true, - // ensureLegibility: true - // } - // } }], zIndex: 0, }) -- Gitblit v1.9.1