From dc988a0f991e4b54eb0f562fc3809d157dffe72e Mon Sep 17 00:00:00 2001 From: zhangliqiang Date: Mon, 15 Apr 2024 14:17:59 +0800 Subject: [PATCH 1/8] build: Update .dockerignore remove useless directory. --- .dockerignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 92c02acca..305b3d81b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,2 @@ -.git* \ No newline at end of file +.git* +.idea* From c226a49af792d20085e2f2b215ad37d597f08d0c Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Mon, 15 Apr 2024 14:18:33 +0800 Subject: [PATCH 2/8] Pr@main@fix hit test (#70) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 应用命中测试报没有权限访问 #65 --- ui/src/views/paragraph/component/ProblemComponent.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/paragraph/component/ProblemComponent.vue b/ui/src/views/paragraph/component/ProblemComponent.vue index cef42b4e1..6284f3285 100644 --- a/ui/src/views/paragraph/component/ProblemComponent.vue +++ b/ui/src/views/paragraph/component/ProblemComponent.vue @@ -168,7 +168,7 @@ const remoteMethod = (query: string) => { function getProblemOption(filterText?: string) { return problem .asyncGetProblem( - id as string, + props.datasetId || (id as string), { current_page: 1, page_size: 100 }, filterText && { content: filterText }, optionLoading From 9c830366b317cc274903fc028b06e0bb3950816a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BB=BA=E5=9B=BD?= <75963100+Jianguo-Genius@users.noreply.github.com> Date: Mon, 15 Apr 2024 14:42:26 +0800 Subject: [PATCH 3/8] =?UTF-8?q?docs:=20=E4=BF=AE=E5=A4=8D=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=E4=B8=AD=E7=9A=84=E9=94=99=E5=88=AB=E5=AD=97=20(#73)?= 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 f925b09f8..0f5e744fe 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 fc63b15e7fb72bdd467a5729d826f39208dda76f Mon Sep 17 00:00:00 2001 From: Craftsman <70558837+fit2-zhao@users.noreply.github.com> Date: Mon, 15 Apr 2024 14:42:39 +0800 Subject: [PATCH 4/8] refactor: remove unused element (#74) --- ui/src/views/user-manage/component/UserDialog.vue | 5 ++--- ui/src/views/user-manage/component/UserPwdDialog.vue | 3 +-- ui/src/views/user-manage/index.vue | 4 ++-- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ui/src/views/user-manage/component/UserDialog.vue b/ui/src/views/user-manage/component/UserDialog.vue index 997d9bd4c..998531983 100644 --- a/ui/src/views/user-manage/component/UserDialog.vue +++ b/ui/src/views/user-manage/component/UserDialog.vue @@ -53,10 +53,9 @@