提交 c248d6c1 编写于 作者: NoSubject's avatar NoSubject

去除alert提示

上级 d65969b1
......@@ -172,7 +172,7 @@ MWF.xApplication.process.FormDesigner.Module.$ElElement = MWF.FC$ElElement = new
});
},
errorCaptured: function(err, vm, info){
alert("errorCaptured:"+info);
//alert("errorCaptured:"+info);
return false;
}
};
......@@ -192,7 +192,6 @@ MWF.xApplication.process.FormDesigner.Module.$ElElement = MWF.FC$ElElement = new
}
},
_afterMounted: function(el, callback){
debugger;
this.node = el;
this.node.store("module", this);
this._loadVueCss();
......@@ -238,6 +237,13 @@ MWF.xApplication.process.FormDesigner.Module.$ElElement = MWF.FC$ElElement = new
},
_preprocessingModuleData: function(){
if (this.node.nodeType===Node.COMMENT_NODE){
var tmp = this.node;
this._createVueAppNode();
this.node.inject(tmp, "after");
this.node.store("module", this);
tmp.destroy();
}
try{
this.node.empty();
this.node.clearStyles();
......
......@@ -1397,7 +1397,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor = new Cla
this.waitLocation = window.setTimeout(function(){
this.resizeToolbar(node);
this.waitLocation = false;
}.bind(this), 300);
}.bind(this), 1000);
}
}else{
this.resizeToolbar(node);
......@@ -1807,7 +1807,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor = new Cla
this.waitLocationFiletext = window.setTimeout(function(){
this.reLocationFiletextToolbar(editorName);
this.waitLocationFiletext = false;
}.bind(this), 300);
}.bind(this), 1000);
}
}else{
this.reLocationFiletextToolbar(editorName)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册