Compare commits

...

2 Commits

Author SHA1 Message Date
lyc 89e0b2f97c Merge pull request 'edit 框架设计' (#176) from lyc-dev into main 2024-12-24 14:48:25 +08:00
lyc 406e581182 edit 框架设计 2024-12-24 14:47:58 +08:00
1 changed files with 6 additions and 2 deletions

View File

@ -206,7 +206,7 @@ const handleCompleteText = async (answer, index) => {
}
//
const onSaveTemp = (item) => {
const onSaveTemp = async (item) => {
if (item.answer == '') return
const data = {
@ -216,7 +216,11 @@ const onSaveTemp = (item) => {
content: item.answer,
ex1: curNode.id
}
tempSave(data).then(res => { })
const res = await tempSave(data)
if(!item.resultId){
item.resultId = res.data
}
}
const isWordDialog = ref(false)