Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
liqiang-fit2cloud committed Apr 15, 2024
2 parents c909b64 + 5164955 commit 32dee8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/common/field/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class FunctionField(serializers.Field):

def to_internal_value(self, data):
if not callable(data):
self.fail('不是一個函數', value=data)
self.fail('不是一个函數', value=data)
return data

def to_representation(self, value):
Expand Down
2 changes: 1 addition & 1 deletion ui/src/views/problem/component/RelateProblemDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ function getDocument() {
cloneDocumentList.value = res.data
documentList.value = res.data
currentDocument.value = cloneDocumentList.value?.length > 0 ? cloneDocumentList.value[0].id : ''
getParagraphList(currentDocument.value)
currentDocument.value && getParagraphList(currentDocument.value)
})
}
Expand Down

0 comments on commit 32dee8e

Please sign in to comment.