diff --git a/core/core-frontend/src/custom-component/common/CommonAttr.vue b/core/core-frontend/src/custom-component/common/CommonAttr.vue index 75314390db..7a805481d9 100644 --- a/core/core-frontend/src/custom-component/common/CommonAttr.vue +++ b/core/core-frontend/src/custom-component/common/CommonAttr.vue @@ -102,6 +102,12 @@ onMounted(() => { }) }) }) +const stopEvent = e => { + if (e && e.code === 'Enter') { + e.stopPropagation() + e.preventDefault() + } +}