Compare commits

..

No commits in common. "f732520d8d1ea98af786b0b48f4d15bd3e398c64" and "cf540d73df68df754ef64d7952fb50a0a0d9c434" have entirely different histories.

2 changed files with 3 additions and 6 deletions

View File

@ -415,7 +415,7 @@ const onEditSave = async (item) => {
} }
// //
const onSaveTemp = async (item) => { const onSaveTemp = (item) => {
if (item.answer == '') return if (item.answer == '') return
const data = { const data = {
@ -425,10 +425,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
}
} }
// ### ** // ### **

View File

@ -258,7 +258,7 @@ const listRef = ref()
// //
const isStarted = ref([]); const isStarted = ref([]);
const getTempResult = (id) => { const getTempResult = (id) => {
tempResult({ mainModelId: id, pageNum: 1, pageSize: 10000, ex1: curNode.id }).then(res => { tempResult({ mainModelId: id }).then(res => {
let rows = res.rows let rows = res.rows
if (rows.length > 0) { if (rows.length > 0) {
isStarted.value = new Array(rows.length).fill(true) isStarted.value = new Array(rows.length).fill(true)