|
@@ -9816,7 +9816,7 @@ ${_this.unitJson[0].chapterInfo[0].taskJson[index].taskDetail3.replaceAll('#',''
|
|
|
// debugger
|
|
|
const dname = `${a}.docx`;
|
|
|
// 创建文件流
|
|
|
-
|
|
|
+ // const file = new File([blob], dname, { type: 'application/msword' });
|
|
|
let file = new File([blob], dname, { type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' });
|
|
|
// let params = convertApi.createParams()
|
|
|
// params.add('file', file)
|
|
@@ -18706,7 +18706,7 @@ ${msg3}
|
|
|
// this.taskGLoading[this.aiCallBack[0]][2] = true
|
|
|
this.aiGetG321(message1, this.aiCallBack[0], () => {
|
|
|
// this.aiGetG322(message2, this.aiCallBack[0])
|
|
|
- this.aiCallBack[0] ? this.aiCallBack[0]() : ''
|
|
|
+ // this.aiCallBack[0] ? this.aiCallBack[0]() : ''
|
|
|
})
|
|
|
// this.aiGetG323(message3, this.aiCallBack[0])
|
|
|
}
|
|
@@ -21020,7 +21020,7 @@ ${this.courseText && this.aiCallBack[0] == 2 ? '注意,优化原有的<参考
|
|
|
if(!_task.toolChoose){
|
|
|
console.log("error_________________JSON不对重新生成");
|
|
|
_this.$message.error('哎呀,网络波动了...小可正在为您重新生成中...')
|
|
|
- _this.aiGet322(messages, index)
|
|
|
+ _this.aiGetG322(messages, index)
|
|
|
return;
|
|
|
}
|
|
|
_this.unitJson[0].chapterInfo[0].taskJson[index].toolChoose = []
|
|
@@ -21160,7 +21160,7 @@ ${this.courseText && this.aiCallBack[0] == 2 ? '注意,优化原有的<参考
|
|
|
if(!_task.elist){
|
|
|
console.log("error_________________JSON不对重新生成");
|
|
|
_this.$message.error('哎呀,网络波动了...小可正在为您重新生成中...')
|
|
|
- _this.aiGet322(messages, index)
|
|
|
+ _this.aiGetG322(messages, index)
|
|
|
return;
|
|
|
}
|
|
|
_task.elist = _task.elist.filter(el=>{
|