mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-01-24 10:33:50 +08:00
fix: watch open logic lost after build (#3421)
* fix: watch open logic lost after build * fix: drawer for better understand
This commit is contained in:
parent
404a4720b0
commit
089a98953e
@ -135,7 +135,9 @@
|
||||
(open) => {
|
||||
nextTick(() => {
|
||||
emit('open-change', open);
|
||||
instance && drawerInstance.emitOpen?.(open, instance.uid);
|
||||
if (instance && drawerInstance.emitOpen) {
|
||||
drawerInstance.emitOpen(open, instance.uid);
|
||||
}
|
||||
});
|
||||
},
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user