fix: set focus to newly added environment key field
This commit is contained in:
parent
0069f51ea4
commit
3084a40729
2 changed files with 2 additions and 0 deletions
|
|
@ -56,6 +56,7 @@
|
|||
>
|
||||
<input
|
||||
v-model="env.key"
|
||||
v-focus
|
||||
class="flex flex-1 px-4 py-2 bg-transparent"
|
||||
:placeholder="`${t('count.variable', { count: index + 1 })}`"
|
||||
:name="'param' + index"
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@
|
|||
>
|
||||
<input
|
||||
v-model="env.key"
|
||||
v-focus
|
||||
class="flex flex-1 px-4 py-2 bg-transparent"
|
||||
:class="isViewer && 'opacity-25'"
|
||||
:placeholder="`${t('count.variable', { count: index + 1 })}`"
|
||||
|
|
|
|||
Loading…
Reference in a new issue