Compare commits
No commits in common. "89e0b2f97cad8dda2ac1a8c4cc850e519a688f95" and "ea0e1c91cf2ddb26b01bdc94e4097ba97d3ca0ab" have entirely different histories.
89e0b2f97c
...
ea0e1c91cf
|
@ -206,7 +206,7 @@ const handleCompleteText = async (answer, index) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 保存模板
|
// 保存模板
|
||||||
const onSaveTemp = async (item) => {
|
const onSaveTemp = (item) => {
|
||||||
if (item.answer == '') return
|
if (item.answer == '') return
|
||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
|
@ -216,11 +216,7 @@ const onSaveTemp = async (item) => {
|
||||||
content: item.answer,
|
content: item.answer,
|
||||||
ex1: curNode.id
|
ex1: curNode.id
|
||||||
}
|
}
|
||||||
const res = await tempSave(data)
|
tempSave(data).then(res => { })
|
||||||
|
|
||||||
if(!item.resultId){
|
|
||||||
item.resultId = res.data
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const isWordDialog = ref(false)
|
const isWordDialog = ref(false)
|
||||||
|
|
Loading…
Reference in New Issue