|
@@ -278,17 +278,18 @@ export default {
|
|
|
}
|
|
|
this.currentConversation = obj
|
|
|
this.chat_id = obj.conversationId
|
|
|
- this.$set(this.inputs,'tec_file',obj.systemFile || {})
|
|
|
this.confession = obj.assoSystemFile || {}
|
|
|
this.getOption()
|
|
|
let content = obj.content
|
|
|
if(!content){
|
|
|
this.inputs = Object.assign({}, default_input)
|
|
|
+ this.$set(this.inputs,'tec_file',obj.systemFile || {})
|
|
|
return
|
|
|
}
|
|
|
try{
|
|
|
let data = JSON.parse(content)
|
|
|
this.$set(this,'inputs',data.query)
|
|
|
+ this.$set(this.inputs,'tec_file',obj.systemFile || {})
|
|
|
}catch(e){
|
|
|
|
|
|
}
|