mirror of https://github.com/ElemeFE/element
Msgbox: fix second param not passed to callback
parent
e09d7c74a4
commit
09761ca59b
|
@ -93,8 +93,8 @@ const showNextMsg = () => {
|
|||
}
|
||||
|
||||
let oldCb = instance.callback;
|
||||
instance.callback = action => {
|
||||
oldCb(action);
|
||||
instance.callback = (action, instance) => {
|
||||
oldCb(action, instance);
|
||||
showNextMsg();
|
||||
};
|
||||
['modal', 'showClose', 'closeOnClickModal', 'closeOnPressEscape'].forEach(prop => {
|
||||
|
|
Loading…
Reference in New Issue