|
@@ -1,5 +1,5 @@
|
|
|
// 消息数组
|
|
|
-import {ref, reactive, nextTick, inject} from 'vue';
|
|
|
+import { ref, reactive, nextTick, inject } from 'vue';
|
|
|
import avator from '@/public/icon/32.png';
|
|
|
import moment from 'moment'
|
|
|
import { getFileContent, getFormKey, buildObjPrompt ,getFileSummaryPrompt} from '@/utils/ai-service'
|
|
@@ -20,7 +20,7 @@ export function useMsg(scrollbar?: any, xlsxData?: any, fetchDataAndProcess?: Fu
|
|
|
const {useStore} = inject('indexedDBHook') as any;
|
|
|
|
|
|
|
|
|
- const getFileValue = async (file: any, form: any) => {
|
|
|
+ const getFileValue = async (file: any, form: any) => {
|
|
|
const obj = reactive({
|
|
|
id: moment(),
|
|
|
username: '用户1',
|