mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2026-05-20 12:09:41 +00:00
fix query
This commit is contained in:
@@ -34,9 +34,9 @@ export const GetAsyncTaskList = {
|
||||
};
|
||||
|
||||
export const GetAsyncProfileTaskProcess = {
|
||||
variable: "$taskID: String",
|
||||
variable: "$taskId: String!",
|
||||
query: `
|
||||
taskProgress: queryAsyncProfilerTaskProgress(taskID: $taskID) {
|
||||
taskProgress: queryAsyncProfilerTaskProgress(taskId: $taskId) {
|
||||
logs {
|
||||
id
|
||||
instanceId
|
||||
|
||||
@@ -170,7 +170,7 @@ limitations under the License. -->
|
||||
showDetail.value = true;
|
||||
asyncProfilingStore.setSelectedTask(item);
|
||||
service.value = (selectorStore.services.filter((s: any) => s.id === item.serviceId)[0] || {}).label;
|
||||
const res = await asyncProfilingStore.getTaskLogs({ taskID: item.id });
|
||||
const res = await asyncProfilingStore.getTaskLogs({ taskId: item.id });
|
||||
|
||||
if (res.errors) {
|
||||
ElMessage.error(res.errors);
|
||||
|
||||
Reference in New Issue
Block a user