Commit cbb3fa09 authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Dialog: fix closeOnPressEsc

parent 2fbe6855
......@@ -156,6 +156,7 @@ const PopupManager = {
if (!topItem) return;
const instance = PopupManager.getInstance(topItem.id);
if (instance.closeOnPressEscape) {
instance.$emit('update:visible', false);
instance.close();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment