diff --git a/o2web/source/x_component_process_FormDesigner/Module/$ElElement.js b/o2web/source/x_component_process_FormDesigner/Module/$ElElement.js index cdf467edc87f939607c8964c51f4e68e1888550e..c8847c135045b125664114bfd56d2426f732b411 100644 --- a/o2web/source/x_component_process_FormDesigner/Module/$ElElement.js +++ b/o2web/source/x_component_process_FormDesigner/Module/$ElElement.js @@ -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(); diff --git a/o2web/source/x_component_process_Xform/Documenteditor.js b/o2web/source/x_component_process_Xform/Documenteditor.js index ea55a7d80bd3a049591e3a05c58bc8e6722ced53..dc5bdb602bac1d9d0d6f64cd834563199331a8d0 100644 --- a/o2web/source/x_component_process_Xform/Documenteditor.js +++ b/o2web/source/x_component_process_Xform/Documenteditor.js @@ -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)