fix: Update Enter key event handling in terminal input to prevent default behavior

This commit is contained in:
HynoR 2025-11-18 12:43:12 +08:00
parent 81c1e90e54
commit 342f06c8ac

View file

@ -123,7 +123,7 @@
</el-button>
<el-input
v-model="batchVal"
@keyup.enter.exact="batchInput"
@keydown.enter.exact.prevent="batchInput"
type="textarea"
:autosize="{ minRows: 1, maxRows: 3 }"
class="flex-1 basis-[300px] min-w-[200px]"