diff --git a/aiChat/components/bottomSend.vue b/aiChat/components/bottomSend.vue index 884af87..988fcdb 100644 --- a/aiChat/components/bottomSend.vue +++ b/aiChat/components/bottomSend.vue @@ -29,7 +29,7 @@ :adjust-position="true" :auto-height="true" :disabled="loading" - :maxlength="-1" + :maxlength="500" class="inp" @confirm="sendHandle" @focus="promptInputFocusHandle" diff --git a/assets/css/aiChat.less b/assets/css/aiChat.less index 43c318c..bc86a4f 100644 --- a/assets/css/aiChat.less +++ b/assets/css/aiChat.less @@ -182,11 +182,13 @@ page { z-index: 5; width: 100%; height: 88rpx; + max-height: 220rpx; border: 0; box-sizing: border-box; line-height: 48rpx; color: #333; font-size: 30rpx; + overflow-y: auto; } .placeholder-txt { position: absolute;