From 572e5cc9beedfa4e96860b4e7ec34de901507331 Mon Sep 17 00:00:00 2001 From: dailer Date: Fri, 5 Nov 2021 09:31:23 +0800 Subject: [PATCH] =?UTF-8?q?DEC-21295=20fix:=20=E3=80=90=E4=B8=93=E9=A2=98?= =?UTF-8?q?=E3=80=91=E3=80=90=E7=9B=AE=E5=BD=95=E7=AE=A1=E7=90=86=E3=80=91?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E7=9B=AE=E5=BD=95=E4=B8=8B=E7=9B=AE=E5=BD=95?= =?UTF-8?q?=E5=B1=95=E5=BC=80=E6=98=BE=E7=A4=BA=E7=A9=BA=E7=99=BD=EF=BC=8C?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E6=8C=89=E9=92=AE=E5=8A=9F=E8=83=BD=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/wrapper/layout.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/wrapper/layout.js b/src/core/wrapper/layout.js index 01ff69be8..db45e7af7 100644 --- a/src/core/wrapper/layout.js +++ b/src/core/wrapper/layout.js @@ -420,6 +420,7 @@ BI.Layout = BI.inherit(BI.Widget, { var shouldUpdate = this.shouldUpdateItem(oldIndex, vnode); var child = this._children[this._getChildName(oldIndex)]; if (shouldUpdate) { + this._children[this._getChildName(newIndex) + "-temp"] = child; return child._update(this._getOptions(vnode), shouldUpdate); } if (shouldUpdate === null && !this._compare(oldVnode, vnode)) {