mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-08 16:40:16 +08:00
changed timeout to nexttick
This commit is contained in:
parent
4bc25ac00f
commit
b1490c81a0
1 changed files with 2 additions and 2 deletions
|
@ -148,9 +148,9 @@
|
|||
});
|
||||
this.$nextTick(() => {
|
||||
$(this.$refs.dropdown).on('show.bs.dropdown', () => {
|
||||
setTimeout(() => {
|
||||
this.$nextTick(() => {
|
||||
$('.insert-field-dropdown')[1].focus()
|
||||
}, 50);
|
||||
});
|
||||
this.searchValue = '';
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue