Browse Source

!1243 UI fix bug of graph that the zoom function is abnormal due to the browser update

From: @huang_wei_feng4
Reviewed-by: @ouwenchang,@yelihua
Signed-off-by: @yelihua
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 4 years ago
parent
commit
6c3ffffe52
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      mindinsight/ui/src/mixins/common-graph.vue

+ 0
- 5
mindinsight/ui/src/mixins/common-graph.vue View File

@@ -307,11 +307,6 @@ export default {
svg.on('.zoom', null); svg.on('.zoom', null);
svg.call(zoom); svg.call(zoom);
svg.on('dblclick.zoom', null); svg.on('dblclick.zoom', null);
svg.on('wheel.zoom', null);

const graph0 = d3.select('#graph #graph0');
graph0.on('.zoom', null);
graph0.call(zoom);
}, },
/** /**
* Default method of the graph rendering adjustment. Set the node format. * Default method of the graph rendering adjustment. Set the node format.


Loading…
Cancel
Save