Commit ee1345a1 authored by 周远喜's avatar 周远喜

gojs 测试

parent b945fd4f
...@@ -11,7 +11,7 @@ export default { ...@@ -11,7 +11,7 @@ export default {
}, },
mounted() { mounted() {
let map = $(go.Diagram, 'gomap', { let map = $(go.Diagram, 'gomap', {
'undoManager.isEnabled': true // enable Ctrl-Z to undo and Ctrl-Y to redo 'undoManager.isEnabled': false // enable Ctrl-Z to undo and Ctrl-Y to redo
}) })
var myModel = $(go.Model) var myModel = $(go.Model)
map.nodeTemplate = $( map.nodeTemplate = $(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment