Element UI version
2.13.2
OS/Browsers version
all
Vue version
2.6.11
Reproduction Link
Steps to reproduce
- click "show msg" button
- click "show 2 msgs" button
- click "show 2 msgs async" button
What is Expected?
- 1 MessageBox appears
- 2 MessageBox appear in the function's calling order
- 2 MessageBox appear in the function's calling order
What is actually happening?
- 1 MessageBox appears
- only the last MessageBox appears
- 2 MessageBox appear in the function's calling order
As the reproducting codepen shows, when calling this.$msgbox
multi time synchronously by clicking "show 2 msgs" button, it only shows the last one.
While when calling it synchronously with setTimeout
, all the MessageBox will show in order.
2条答案
按热度按时间k4emjkb11#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
ioekq8ef2#
@HualiangLI Please provide correct Reproduction Link...