fix: 应用命中测试报没有权限访问 #65

This commit is contained in:
shaohuzhang1 2024-04-15 14:16:44 +08:00
parent 7b6dcc64d2
commit ec6ce7bf5e

View File

@ -168,7 +168,7 @@ const remoteMethod = (query: string) => {
function getProblemOption(filterText?: string) { function getProblemOption(filterText?: string) {
return problem return problem
.asyncGetProblem( .asyncGetProblem(
id as string, props.datasetId || (id as string),
{ current_page: 1, page_size: 100 }, { current_page: 1, page_size: 100 },
filterText && { content: filterText }, filterText && { content: filterText },
optionLoading optionLoading