Skip to content
Snippets Groups Projects
Commit 99209d36 authored by syuilo's avatar syuilo
Browse files

Fix bug of c3ae6f3a

parent e2a9a0ff
No related branches found
No related tags found
No related merge requests found
......@@ -300,8 +300,8 @@ export function modalMenu(items: any[], src?: HTMLElement, options?: { align?: s
resolve();
dispose();
},
}).then(_dispose => {
dispose = _dispose;
}).then(res => {
dispose = res.dispose;
});
});
}
......@@ -318,8 +318,8 @@ export function contextMenu(items: any[], ev: MouseEvent) {
resolve();
dispose();
},
}).then(_dispose => {
dispose = _dispose;
}).then(res => {
dispose = res.dispose;
});
});
}
......@@ -337,8 +337,8 @@ export function post(props: Record<string, any>) {
resolve();
dispose();
},
}).then(_dispose => {
dispose = _dispose;
}).then(res => {
dispose = res.dispose;
});
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment