Skip to content

Commit

Permalink
fix: 修复 toast 弹层z-index 过低的问题 (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
myronliu347 authored Dec 27, 2023
1 parent e899d8b commit 326950c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/toast/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 326950c

Please sign in to comment.