mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-04-19 08:16:14 +00:00
idk
This commit is contained in:
parent
25fd36fdb0
commit
e13304a98a
@ -164,12 +164,12 @@
|
||||
</style>
|
||||
<script setup>
|
||||
import MountedPersonalitiesComponent from './MountedPersonalitiesComponent.vue'
|
||||
|
||||
</script>
|
||||
<script>
|
||||
import { nextTick, TransitionGroup } from 'vue'
|
||||
import feather from 'feather-icons'
|
||||
import filesize from '../plugins/filesize'
|
||||
</script>
|
||||
<script>
|
||||
|
||||
|
||||
export default {
|
||||
name: 'ChatBox',
|
||||
@ -179,13 +179,13 @@ export default {
|
||||
loading: false
|
||||
|
||||
},
|
||||
components: {
|
||||
//MountedPersonalitiesComponent
|
||||
},
|
||||
// components: {
|
||||
// //MountedPersonalitiesComponent
|
||||
// },
|
||||
setup () {
|
||||
|
||||
|
||||
return {}
|
||||
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -189,8 +189,7 @@
|
||||
|
||||
</div>
|
||||
<div class=" bottom-0 container flex flex-row items-center justify-center " v-if="currentDiscussion.id">
|
||||
<ChatBox ref="chatBoxarea" @messageSentEvent="sendMsg" :loading="isGenerating"
|
||||
@stopGenerating="stopGenerating" ></ChatBox>
|
||||
<ChatBox ref="chatBox" @messageSentEvent="sendMsg" :loading="isGenerating" @stopGenerating="stopGenerating" ></ChatBox>
|
||||
</div>
|
||||
<!-- CAN ADD FOOTER PANEL HERE -->
|
||||
</div>
|
||||
@ -1128,12 +1127,14 @@ export default {
|
||||
setFileListChat(files) {
|
||||
|
||||
|
||||
//this.fileList = files
|
||||
try {
|
||||
this.$refs.chatBox.fileList = this.$refs.chatBox.fileList.concat(files)
|
||||
} catch (error) {
|
||||
this.$refs.toast.showToast("Failed to set filelist in chatbox\n"+error.message, 4, false)
|
||||
|
||||
}
|
||||
|
||||
|
||||
console.log('chatbox',this.$refs)
|
||||
this.$refs.chatBox.fileList = this.$refs.chatBox.fileList.concat(files)
|
||||
|
||||
this.isDragOverChat = false
|
||||
|
||||
|
||||
@ -1195,7 +1196,7 @@ export default {
|
||||
|
||||
},
|
||||
mounted(){
|
||||
console.log('chatbox mnt',this.$refs)
|
||||
//console.log('chatbox mnt',this.$refs)
|
||||
},
|
||||
async activated() {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user