1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-01-27 07:46:15 +01:00

refs #55 Prevent submit in new toot

This commit is contained in:
AkiraFukushima 2018-03-14 15:53:30 +09:00
parent 58c2c3295c
commit 311e0204ea

View File

@ -3,7 +3,7 @@
title="New Toot"
:visible.sync="newTootModal"
width="400px"
custom-class="new-toot-modal">
custom-class="new-toot-modal" v-on:submit.prevent="toot">
<el-form :model="tootForm">
<div class="body">
<textarea v-model="tootForm.body" ref="body" @keyup.ctrl.enter.exact="toot" @keyup.meta.enter.exact="toot"></textarea>