Fix:3853 【商城小程序】聊天窗口可输入字数太少 修改为500字
This commit is contained in:
@@ -78,7 +78,7 @@
|
|||||||
<view class="input-box">
|
<view class="input-box">
|
||||||
<textarea
|
<textarea
|
||||||
v-model="content"
|
v-model="content"
|
||||||
maxlength="150"
|
maxlength="500"
|
||||||
:auto-height="true"
|
:auto-height="true"
|
||||||
:fixed="true"
|
:fixed="true"
|
||||||
:show-confirm-bar="false"
|
:show-confirm-bar="false"
|
||||||
@@ -279,7 +279,8 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
userInput(event) {
|
userInput(event) {
|
||||||
this.content = event.detail.value;
|
// 只取前500字
|
||||||
|
this.content = event.detail.value.slice(0, 500);
|
||||||
},
|
},
|
||||||
|
|
||||||
userSend(msg_type) {
|
userSend(msg_type) {
|
||||||
|
|||||||
Reference in New Issue
Block a user