diff --git a/cateditor/src/components/AddSectionDialog.vue b/cateditor/src/components/AddSectionDialog.vue index 5fa81e9..13736bf 100644 --- a/cateditor/src/components/AddSectionDialog.vue +++ b/cateditor/src/components/AddSectionDialog.vue @@ -14,6 +14,7 @@ :rules="[v => !!v || 'Required']" v-model="name" label="Name" + v-on:keydown.enter.prevent="doNewSection()" autofocus required>