From 326950cbf2ebbcdfcb8631a150c2c294a05bf227 Mon Sep 17 00:00:00 2001 From: myron Date: Wed, 27 Dec 2023 17:37:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20toast=20=E5=BC=B9?= =?UTF-8?q?=E5=B1=82z-index=20=E8=BF=87=E4=BD=8E=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#251)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/toast/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/toast/index.js b/src/toast/index.js index 606edbc8e..e558cf155 100644 --- a/src/toast/index.js +++ b/src/toast/index.js @@ -152,9 +152,7 @@ function ToastForMulitple(options) { const toast = createInstanceForMultiple(); // should add z-index if previous toast has not disappeared - if (toast.value) { - toast.updateZIndex(); - } + toast.updateZIndex(); options = parseOptions(options); options = {