From 8f5e1a51a56386e6121d5865f3a98618a6680f77 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 1 Apr 2021 17:01:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E6=95=B4=E7=90=86=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/wrapper/layout/adapt/float.horizontal.js | 2 +- src/core/wrapper/layout/layout.horizontal.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/wrapper/layout/adapt/float.horizontal.js b/src/core/wrapper/layout/adapt/float.horizontal.js index 77667c0ac5..529855411e 100644 --- a/src/core/wrapper/layout/adapt/float.horizontal.js +++ b/src/core/wrapper/layout/adapt/float.horizontal.js @@ -1,5 +1,5 @@ /** * 浮动的水平居中布局 */ -BI.FloatHorizontalLayout = BI.Layout; +BI.FloatHorizontalLayout = BI.inherit(BI.Layout); BI.shortcut("bi.horizontal_float", BI.FloatHorizontalLayout); diff --git a/src/core/wrapper/layout/layout.horizontal.js b/src/core/wrapper/layout/layout.horizontal.js index e7997c682a..a2989eff32 100644 --- a/src/core/wrapper/layout/layout.horizontal.js +++ b/src/core/wrapper/layout/layout.horizontal.js @@ -3,5 +3,5 @@ * @class BI.HorizontalLayout * @extends BI.Layout */ -BI.HorizontalLayout = BI.Layout; +BI.HorizontalLayout = BI.inherit(BI.Layout); BI.shortcut("bi.horizontal", BI.HorizontalLayout);