From d587bcef2e812c6c8a235aa1ceb8c898d0c8b702 Mon Sep 17 00:00:00 2001 From: zsmj Date: Thu, 20 Oct 2022 10:14:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA:=20fix=20unResize?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wrapper/layout/responsive/responsive.flex.horizontal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/wrapper/layout/responsive/responsive.flex.horizontal.js b/src/core/wrapper/layout/responsive/responsive.flex.horizontal.js index 70d7ddddb..592d50641 100644 --- a/src/core/wrapper/layout/responsive/responsive.flex.horizontal.js +++ b/src/core/wrapper/layout/responsive/responsive.flex.horizontal.js @@ -51,7 +51,7 @@ BI.ResponsiveFlexHorizontalLayout = BI.inherit(BI.FlexHorizontalLayout, { }, destroyed: function () { - this.unResize(); + this.unResize?.(); } }); BI.shortcut("bi.responsive_flex_horizontal", BI.ResponsiveFlexHorizontalLayout);