diff --git a/demo/js/widget/relationview/demo.relationview.js b/demo/js/widget/relationview/demo.relationview.js index 3a42bfb66a..61af7cf740 100644 --- a/demo/js/widget/relationview/demo.relationview.js +++ b/demo/js/widget/relationview/demo.relationview.js @@ -51,7 +51,7 @@ Demo.RelationView = BI.inherit(BI.Widget, { foreign: {region: "B", value: "b1", text: "b1字段"} }, { - primary: {region: "X33", value: "x233", text: "x233字段"} + primary: {region: "X33"} } ] }); diff --git a/dist/bundle.js b/dist/bundle.js index d6435f5fe6..42a3bd4f11 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -91276,7 +91276,7 @@ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.RelationViewRegionContainer.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-relation-view-region-container", - width: 150 + width: 200 }); }, @@ -91286,6 +91286,7 @@ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { this.region = BI.createWidget({ type: "bi.relation_view_region", value: o.value, + width: o.width, header: o.header, text: o.text, handler: o.handler, diff --git a/dist/demo.js b/dist/demo.js index 8986142c43..4070c4cca2 100644 --- a/dist/demo.js +++ b/dist/demo.js @@ -13112,7 +13112,7 @@ Demo.RelationView = BI.inherit(BI.Widget, { foreign: {region: "B", value: "b1", text: "b1字段"} }, { - primary: {region: "X33", value: "x233", text: "x233字段"} + primary: {region: "X33"} } ] }); diff --git a/dist/widget.js b/dist/widget.js index b537b83b87..c12088338a 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -15222,7 +15222,7 @@ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.RelationViewRegionContainer.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-relation-view-region-container", - width: 150 + width: 200 }); }, @@ -15232,6 +15232,7 @@ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { this.region = BI.createWidget({ type: "bi.relation_view_region", value: o.value, + width: o.width, header: o.header, text: o.text, handler: o.handler, diff --git a/src/widget/relationview/relationview.region.container.js b/src/widget/relationview/relationview.region.container.js index ad8350348d..12180e871b 100644 --- a/src/widget/relationview/relationview.region.container.js +++ b/src/widget/relationview/relationview.region.container.js @@ -5,7 +5,7 @@ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { _defaultConfig: function () { return BI.extend(BI.RelationViewRegionContainer.superclass._defaultConfig.apply(this, arguments), { baseCls: "bi-relation-view-region-container", - width: 150 + width: 200 }); }, @@ -15,6 +15,7 @@ BI.RelationViewRegionContainer = BI.inherit(BI.Widget, { this.region = BI.createWidget({ type: "bi.relation_view_region", value: o.value, + width: o.width, header: o.header, text: o.text, handler: o.handler,