Skip to content

Commit

Permalink
@change -> @keyup.enter
Browse files Browse the repository at this point in the history
  • Loading branch information
okuxxbos20 committed Apr 8, 2020
1 parent e737bbb commit 0ce1ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/class/child_components/ChatTextArea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class="user_input"
type="text"
placeholder="Aa"
@change="sendText($event.target.value)"
@keyup.enter="sendText($event.target.value)"
:style="{ color: ColorFunc().text, background: ColorFunc().backGround }"
>
</div>
Expand Down

0 comments on commit 0ce1ac8

Please sign in to comment.