fix: drawer jump bug #4609

close #4609
pull/4632/head
undefined 2021-09-08 21:48:35 +08:00
parent 11498add8e
commit 4c1347c24b
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ const Drawer = defineComponent({
} }
this.preProps.open = val; this.preProps.open = val;
if (val) { if (val) {
nextTick(() => { setTimeout(() => {
this.domFocus(); this.domFocus();
}); });
} }