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