fix js code error by configHeight

This commit is contained in:
pengfei.zhou 2021-06-22 10:52:09 +08:00 committed by osborn
parent 25b6a69d02
commit bebd1c6fe9
6 changed files with 6 additions and 6 deletions

View File

@ -751,7 +751,7 @@ var LayoutConfigImpl = /** @class */ (function () {
return this; return this;
}; };
LayoutConfigImpl.prototype.mostHeight = function () { LayoutConfigImpl.prototype.mostHeight = function () {
this.widthSpec = exports.LayoutSpec.MOST; this.heightSpec = exports.LayoutSpec.MOST;
return this; return this;
}; };
LayoutConfigImpl.prototype.just = function () { LayoutConfigImpl.prototype.just = function () {

View File

@ -637,7 +637,7 @@ class LayoutConfigImpl {
return this; return this;
} }
mostHeight() { mostHeight() {
this.widthSpec = exports.LayoutSpec.MOST; this.heightSpec = exports.LayoutSpec.MOST;
return this; return this;
} }
just() { just() {

View File

@ -2158,7 +2158,7 @@ class LayoutConfigImpl {
return this; return this;
} }
mostHeight() { mostHeight() {
this.widthSpec = exports.LayoutSpec.MOST; this.heightSpec = exports.LayoutSpec.MOST;
return this; return this;
} }
just() { just() {

View File

@ -37,7 +37,7 @@ export class LayoutConfigImpl {
return this; return this;
} }
mostHeight() { mostHeight() {
this.widthSpec = LayoutSpec.MOST; this.heightSpec = LayoutSpec.MOST;
return this; return this;
} }
just() { just() {

View File

@ -98,7 +98,7 @@ export class LayoutConfigImpl implements LayoutConfig, Modeling {
} }
mostHeight() { mostHeight() {
this.widthSpec = LayoutSpec.MOST this.heightSpec = LayoutSpec.MOST
return this return this
} }

View File

@ -2212,7 +2212,7 @@ class LayoutConfigImpl {
return this; return this;
} }
mostHeight() { mostHeight() {
this.widthSpec = exports.LayoutSpec.MOST; this.heightSpec = exports.LayoutSpec.MOST;
return this; return this;
} }
just() { just() {