提交 e2c2d3ef 编写于 作者: B baoliang

merge from 1.3.3-release

上级 1c97cfc9
......@@ -53,7 +53,9 @@ Dag.prototype.setConfig = function (o) {
*/
Dag.prototype.create = function () {
const self = this
jsPlumb.ready(() => {
let plumbIns = jsPlumb.getInstance()
plumbIns.reset()
plumbIns.ready(() => {
JSP.init({
dag: this.dag,
instance: this.instance,
......@@ -164,7 +166,10 @@ Dag.prototype.backfill = function (arg) {
})
})
} else {
jsPlumb.ready(() => {
const self = this
let plumbIns = jsPlumb.getInstance()
plumbIns.reset()
plumbIns.ready(() => {
JSP.init({
dag: this.dag,
instance: this.instance,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册