Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix(*): (#555) 全局评论如果输入空格还是能提交的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Oct 16, 2018
1 parent 1591d5f commit 1439dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/commentInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<span class="m-box-model m-flex-grow1 m-flex-shrink1 m-justify-end m-wz-def">
<textarea
ref="textarea"
v-model="contentText"
v-model.trim="contentText"
:placeholder="placeholder"
:style="{ height: `${scrollHeight}px` }"
maxlength="255"
Expand Down

0 comments on commit 1439dfb

Please sign in to comment.