diff --git a/ui/src/components/app-table/index.vue b/ui/src/components/app-table/index.vue index 29335ba0a..fd2c5e43c 100644 --- a/ui/src/components/app-table/index.vue +++ b/ui/src/components/app-table/index.vue @@ -11,6 +11,7 @@ autofocus :maxlength="quickCreateMaxlength" :show-word-limit="quickCreateMaxlength ? true : false" + @keydown.enter="submitHandle" /> 创建 diff --git a/ui/src/views/problem/component/DetailProblemDrawer.vue b/ui/src/views/problem/component/DetailProblemDrawer.vue index 2aa05503a..2984b2762 100644 --- a/ui/src/views/problem/component/DetailProblemDrawer.vue +++ b/ui/src/views/problem/component/DetailProblemDrawer.vue @@ -18,18 +18,13 @@