|
|
@@ -485,7 +485,7 @@
|
|
|
<a-modal title=" " v-model:visible="fileVisible" :footer="false" fullscreen>
|
|
|
<!-- <docx previewSrc="http://192.168.20.116:1080/v1/document/get/405c3efa4d8c11ef97560242ac120006"></docx>-->
|
|
|
<docx v-if="documenttype == 'docx'" :previewSrc="previewSrc"></docx>
|
|
|
- <excel v-if="documenttype == 'excel'" :previewSrc="previewSrc"></excel>
|
|
|
+ <excel v-if="documenttype == 'xlsx'" :previewSrc="previewSrc"></excel>
|
|
|
<Pdf v-if="documenttype == 'pdf'" :previewSrc="previewSrc"></Pdf>
|
|
|
<txt v-if="documenttype == 'txt'" :previewSrc="previewSrc"></txt>
|
|
|
</a-modal>
|
|
|
@@ -922,7 +922,7 @@
|
|
|
console.log(name, '新建会话名称');
|
|
|
|
|
|
const res = await addSessionApi({
|
|
|
- dialog_id: '',
|
|
|
+ dialog_id: id,
|
|
|
conversation_desc: name,
|
|
|
});
|
|
|
// console.log(res, "res");
|