Commit 15c38293 authored by Jikkai Xiao's avatar Jikkai Xiao Committed by 杨奕

Tabs: remove focus state when before-leave return a resolved promise (#11386)

parent 5ad118b7
......@@ -77,6 +77,8 @@
if (before && before.then) {
before.then(() => {
changeCurrentName();
this.$refs.nav && this.$refs.nav.removeFocus();
});
} else if (before !== false) {
changeCurrentName();
......
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