Skip to content

Commit

Permalink
fix: merge时被误删的代码
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohuzhang1 committed Mar 29, 2024
1 parent 1d3f6fb commit 8afece9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/src/views/template/component/ModelCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,10 @@ const initInterval = () => {
downModel.value = ok.data
})
} else {
downModel.value = undefined
if (downModel.value) {
props.updateModelById(props.model.id, downModel.value)
downModel.value = undefined
}
}
}, 6000)
}
Expand Down

0 comments on commit 8afece9

Please sign in to comment.