no message

This commit is contained in:
kuaifan 2023-08-08 19:46:44 +08:00
parent 89001bec0a
commit 30ac03e0cc
4 changed files with 8 additions and 3 deletions

View File

@ -166,7 +166,7 @@ services:
ai: ai:
container_name: "dootask-ai-${APP_ID}" container_name: "dootask-ai-${APP_ID}"
image: "kuaifan/dooai:0.0.2" image: "kuaifan/dooai:0.0.3"
networks: networks:
extnetwork: extnetwork:
ipv4_address: "${APP_IPPR}.12" ipv4_address: "${APP_IPPR}.12"

View File

@ -239,6 +239,10 @@ export default {
type: Boolean, type: Boolean,
default: false default: false
}, },
sendMenu: {
type: Boolean,
default: true
},
options: { options: {
type: Object, type: Object,
default: () => ({}) default: () => ({})
@ -1019,7 +1023,7 @@ export default {
}, },
longSend() { longSend() {
if (this.sendClass === 'recorder') { if (this.sendClass === 'recorder' || !this.sendMenu) {
return; return;
} }
this.showMenu = true; this.showMenu = true;

View File

@ -443,6 +443,7 @@
:loading="sendLoad > 0" :loading="sendLoad > 0"
:maxlength="200000" :maxlength="200000"
:placeholder="$L('输入消息...')" :placeholder="$L('输入消息...')"
:send-menu="false"
@on-more="onEventMore" @on-more="onEventMore"
@on-file="onSelectFile" @on-file="onSelectFile"
@on-record="onRecord" @on-record="onRecord"

View File

@ -720,7 +720,7 @@
} }
.task-dialog { .task-dialog {
margin: 0 0 0 18px; margin: 0 0 0 18px;
min-width: 320px; min-width: 220px;
max-width: 450px; max-width: 450px;
border-left: 1px solid #f4f5f5; border-left: 1px solid #f4f5f5;