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] 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