From bd39580ec076a0c05a49bf6a4b8bc8644d4495f2 Mon Sep 17 00:00:00 2001 From: AgAngle <1323481023@qq.com> Date: Mon, 15 Apr 2024 15:30:44 +0800 Subject: [PATCH 1/3] =?UTF-8?q?docs:=20=E4=BF=AE=E6=94=B9=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=B8=AD=E7=9A=84=E9=94=99=E5=88=AB=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0f5e744fe..dbe48e7e3 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,7 @@ django.setup() def collect_static(): """ 收集静态文件到指定目录 - 本项目主要是将前端vue/dist的前段项目放到静态目录下面 + 本项目主要是将前端vue/dist的前端项目放到静态目录下面 :return: """ logging.info("Collect static files") From 944ba01661f203bad1097a3a534c9216c4045b64 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Mon, 15 Apr 2024 15:43:37 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20=E7=BB=9F=E4=B8=80=E4=B8=BA=E4=B8=AD?= =?UTF-8?q?=E6=96=87=E7=AE=80=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/common/field/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/field/common.py b/apps/common/field/common.py index a97469891..3d6c95f11 100644 --- a/apps/common/field/common.py +++ b/apps/common/field/common.py @@ -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): From 29f804df9edcd812625a77781201a14ed80ab95f Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Mon, 15 Apr 2024 15:56:30 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/problem/component/RelateProblemDialog.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/problem/component/RelateProblemDialog.vue b/ui/src/views/problem/component/RelateProblemDialog.vue index 36fc47d62..0ac461bbb 100644 --- a/ui/src/views/problem/component/RelateProblemDialog.vue +++ b/ui/src/views/problem/component/RelateProblemDialog.vue @@ -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) }) }