From bebd1c6fe9f30528add7c36608343fdf348ee863 Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Tue, 22 Jun 2021 10:52:09 +0800 Subject: [PATCH] fix js code error by configHeight --- doric-js/bundle/doric-lib.es5.js | 2 +- doric-js/bundle/doric-lib.js | 2 +- doric-js/bundle/doric-vm.js | 2 +- doric-js/lib/src/util/layoutconfig.js | 2 +- doric-js/src/util/layoutconfig.ts | 2 +- doric-web/dist/index.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doric-js/bundle/doric-lib.es5.js b/doric-js/bundle/doric-lib.es5.js index 2ad28c69..b9c04d57 100644 --- a/doric-js/bundle/doric-lib.es5.js +++ b/doric-js/bundle/doric-lib.es5.js @@ -751,7 +751,7 @@ var LayoutConfigImpl = /** @class */ (function () { return this; }; LayoutConfigImpl.prototype.mostHeight = function () { - this.widthSpec = exports.LayoutSpec.MOST; + this.heightSpec = exports.LayoutSpec.MOST; return this; }; LayoutConfigImpl.prototype.just = function () { diff --git a/doric-js/bundle/doric-lib.js b/doric-js/bundle/doric-lib.js index cd2b1d00..bc2ff67d 100644 --- a/doric-js/bundle/doric-lib.js +++ b/doric-js/bundle/doric-lib.js @@ -637,7 +637,7 @@ class LayoutConfigImpl { return this; } mostHeight() { - this.widthSpec = exports.LayoutSpec.MOST; + this.heightSpec = exports.LayoutSpec.MOST; return this; } just() { diff --git a/doric-js/bundle/doric-vm.js b/doric-js/bundle/doric-vm.js index b7a3f4bb..2c5cff12 100644 --- a/doric-js/bundle/doric-vm.js +++ b/doric-js/bundle/doric-vm.js @@ -2158,7 +2158,7 @@ class LayoutConfigImpl { return this; } mostHeight() { - this.widthSpec = exports.LayoutSpec.MOST; + this.heightSpec = exports.LayoutSpec.MOST; return this; } just() { diff --git a/doric-js/lib/src/util/layoutconfig.js b/doric-js/lib/src/util/layoutconfig.js index 4c653e4e..69e902bd 100644 --- a/doric-js/lib/src/util/layoutconfig.js +++ b/doric-js/lib/src/util/layoutconfig.js @@ -37,7 +37,7 @@ export class LayoutConfigImpl { return this; } mostHeight() { - this.widthSpec = LayoutSpec.MOST; + this.heightSpec = LayoutSpec.MOST; return this; } just() { diff --git a/doric-js/src/util/layoutconfig.ts b/doric-js/src/util/layoutconfig.ts index a46f3272..07fdc4cc 100644 --- a/doric-js/src/util/layoutconfig.ts +++ b/doric-js/src/util/layoutconfig.ts @@ -98,7 +98,7 @@ export class LayoutConfigImpl implements LayoutConfig, Modeling { } mostHeight() { - this.widthSpec = LayoutSpec.MOST + this.heightSpec = LayoutSpec.MOST return this } diff --git a/doric-web/dist/index.js b/doric-web/dist/index.js index de632ac5..ec8532c3 100644 --- a/doric-web/dist/index.js +++ b/doric-web/dist/index.js @@ -2212,7 +2212,7 @@ class LayoutConfigImpl { return this; } mostHeight() { - this.widthSpec = exports.LayoutSpec.MOST; + this.heightSpec = exports.LayoutSpec.MOST; return this; } just() {