diff --git a/ui/src/views/paragraph/component/ParagraphDialog.vue b/ui/src/views/paragraph/component/ParagraphDialog.vue index fd36f30e8..560443034 100644 --- a/ui/src/views/paragraph/component/ParagraphDialog.vue +++ b/ui/src/views/paragraph/component/ParagraphDialog.vue @@ -108,8 +108,8 @@ const open = (data: any) => { dialogVisible.value = true } const submitHandle = async () => { - loading.value = true if (await paragraphFormRef.value?.validate()) { + loading.value = true if (problemId.value) { paragraph .asyncPutParagraph(