File tree Expand file tree Collapse file tree 1 file changed +19
-18
lines changed
ui/src/components/ai-chat/component/chat-input-operate Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Original file line number Diff line number Diff line change 384384 }}
385385 </el-button >
386386 </div >
387- <el-divider style =" margin : 16px 0 " />
388- <el-upload
389- v-if =" props.applicationDetails.file_upload_setting.local_upload"
390- action =" #"
391- multiple
392- :auto-upload =" false"
393- :show-file-list =" false"
394- :accept =" getAcceptList()"
395- :on-change =" (file: any, fileList: any) => uploadFile(file, fileList)"
396- v-model:file-list =" fileAllList"
397- ref =" upload"
398- class =" import-button"
399- >
400- <el-button class =" w-full url-upload-button" >{{
401- $t('chat.uploadFile.localUpload')
402- }}
403- </el-button >
404- </el-upload >
387+ <div v-if =" props.applicationDetails.file_upload_setting.local_upload" >
388+ <el-divider style =" margin : 16px 0 " />
389+ <el-upload
390+ action =" #"
391+ multiple
392+ :auto-upload =" false"
393+ :show-file-list =" false"
394+ :accept =" getAcceptList()"
395+ :on-change =" (file: any, fileList: any) => uploadFile(file, fileList)"
396+ v-model:file-list =" fileAllList"
397+ ref =" upload"
398+ class =" import-button"
399+ >
400+ <el-button class =" w-full url-upload-button" >{{
401+ $t('chat.uploadFile.localUpload')
402+ }}
403+ </el-button >
404+ </el-upload >
405+ </div >
405406 </el-card >
406407 </div >
407408 </div >
You can’t perform that action at this time.
0 commit comments