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

Merge branch 'cherry-pick-370010da' into 'develop_java8'

修复cms表单设计中滚动条丢失的问题,修复Elementui组件重复显示问题

See merge request o2oa/o2oa!294
...@@ -216,21 +216,27 @@ MWF.xApplication.cms.FormDesigner.Main = new Class({ ...@@ -216,21 +216,27 @@ MWF.xApplication.cms.FormDesigner.Main = new Class({
}.bind(this)); }.bind(this));
this.loadForm(); this.loadForm();
if (this.toolbarContentNode){ MWF.require("MWF.widget.ScrollBar", function(){
this.setScrollBar(this.toolbarContentNode, null, { new MWF.widget.ScrollBar(this.propertyDomScrollArea, {
"V": {"x": 0, "y": 0}, "style":"default", "where": "before", "distance": 30, "friction": 4, "indent": false, "axis": {"x": false, "y": true}
"H": {"x": 0, "y": 0}
}); });
//this.setScrollBar(this.propertyDomScrollArea, "form_property", { }.bind(this));
// "V": {"x": 0, "y": 0},
// "H": {"x": 0, "y": 0} // if (this.toolbarContentNode){
//}); // this.setScrollBar(this.toolbarContentNode, null, {
MWF.require("MWF.widget.ScrollBar", function(){ // "V": {"x": 0, "y": 0},
new MWF.widget.ScrollBar(this.propertyDomScrollArea, { // "H": {"x": 0, "y": 0}
"style":"default", "where": "before", "distance": 30, "friction": 4, "indent": false, "axis": {"x": false, "y": true} // });
}); // //this.setScrollBar(this.propertyDomScrollArea, "form_property", {
}.bind(this)); // // "V": {"x": 0, "y": 0},
} // // "H": {"x": 0, "y": 0}
// //});
// MWF.require("MWF.widget.ScrollBar", function(){
// new MWF.widget.ScrollBar(this.propertyDomScrollArea, {
// "style":"default", "where": "before", "distance": 30, "friction": 4, "indent": false, "axis": {"x": false, "y": true}
// });
// }.bind(this));
// }
}, },
initOptions: function(){ initOptions: function(){
this.toolsData = null; this.toolsData = null;
......
...@@ -67,7 +67,7 @@ o2.xApplication.process.Xform.$ElModule = MWF.APP$ElModule = new Class( ...@@ -67,7 +67,7 @@ o2.xApplication.process.Xform.$ElModule = MWF.APP$ElModule = new Class(
this.node.appendHTML(this._createElementHtml(), "before"); this.node.appendHTML(this._createElementHtml(), "before");
var input = this.node.getPrevious(); var input = this.node.getPrevious();
//this.node.destroy(); this.node.destroy();
this.node = input; this.node = input;
this.node.set({ this.node.set({
"id": this.json.id, "id": this.json.id,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册