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
|
||||
|
||||
const data = {
|
||||
|
@ -216,11 +216,7 @@ const onSaveTemp = async (item) => {
|
|||
content: item.answer,
|
||||
ex1: curNode.id
|
||||
}
|
||||
const res = await tempSave(data)
|
||||
|
||||
if(!item.resultId){
|
||||
item.resultId = res.data
|
||||
}
|
||||
tempSave(data).then(res => { })
|
||||
}
|
||||
|
||||
const isWordDialog = ref(false)
|
||||
|
|
Loading…
Reference in New Issue