File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
components/ai-chat/component/chat-input-operate
views/application-workflow Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -244,6 +244,10 @@ function initMaxkbStyle(root, maxkbId){
244244 height: 680px;
245245 display:none;
246246 }
247+ @media only screen and (max-height: 680px) {
248+ #maxkb-chat-container{
249+ height: 600px}
250+ }
247251 @media only screen and (max-width: 768px) {
248252 #maxkb-chat-container {
249253 width: 100%;
Original file line number Diff line number Diff line change 11<template >
2- <div class =" ai-chat__operate p-16" >
2+ <div class =" ai-chat__operate p-16" @drop = " handleDrop " >
33 <div class =" text-center mb-8" v-if =" loading" >
44 <el-button class =" border-primary video-stop-button" @click =" stopChat" >
55 <app-icon iconName =" app-video-stop" class =" mr-8" ></app-icon >
180180 :maxlength =" 100000"
181181 @keydown.enter =" sendChatHandle($event)"
182182 @paste =" handlePaste"
183- @drop =" handleDrop"
184183 class =" chat-operate-textarea"
185184 />
186185
@@ -484,6 +483,7 @@ const handlePaste = (event: ClipboardEvent) => {
484483}
485484// 新增拖拽处理
486485const handleDrop = (event : DragEvent ) => {
486+ console .log (event )
487487 if (! props .applicationDetails .file_upload_enable ) return
488488 event .preventDefault ()
489489 const files = event .dataTransfer ?.files
Original file line number Diff line number Diff line change @@ -622,4 +622,10 @@ onBeforeUnmount(() => {
622622 margin : 0 auto ;
623623 }
624624}
625+ @media only screen and (max-height : 680px ) {
626+ .workflow-debug-container {
627+ height : 600px ;
628+ }
629+ }
630+
625631 </style >
You can’t perform that action at this time.
0 commit comments