mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 08:17:33 +00:00
fix
This commit is contained in:
parent
0ebcde5bde
commit
0ac0be25bc
@ -57,7 +57,9 @@ export const asyncProfilingStore = defineStore({
|
|||||||
if (!params.serviceId) {
|
if (!params.serviceId) {
|
||||||
return new Promise((resolve) => resolve({}));
|
return new Promise((resolve) => resolve({}));
|
||||||
}
|
}
|
||||||
const res: AxiosResponse = await graphql.query("getAsyncTaskList").params({ ...params, limit: 10000 });
|
const res: AxiosResponse = await graphql
|
||||||
|
.query("getAsyncTaskList")
|
||||||
|
.params({ request: { ...params, limit: 10000 } });
|
||||||
|
|
||||||
this.asyncProfilingTips = "";
|
this.asyncProfilingTips = "";
|
||||||
if (res.data.errors) {
|
if (res.data.errors) {
|
||||||
|
@ -26,7 +26,7 @@ limitations under the License. -->
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
<el-button class="search-btn" size="small" @click="createTask">
|
<el-button class="search-btn ml-10" @click="createTask">
|
||||||
{{ t("newTask") }}
|
{{ t("newTask") }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -49,7 +49,7 @@ limitations under the License. -->
|
|||||||
const serviceInstanceIds = ref<string[]>([]);
|
const serviceInstanceIds = ref<string[]>([]);
|
||||||
const selectedEventType = ref<string>("");
|
const selectedEventType = ref<string>("");
|
||||||
const eventTypes = computed(() =>
|
const eventTypes = computed(() =>
|
||||||
asyncProfilingStore.selectedTask.eventTypes.map((d: string) => ({ label: d, value: d })),
|
(asyncProfilingStore.selectedTask.eventTypes || []).map((d: string) => ({ label: d, value: d })),
|
||||||
);
|
);
|
||||||
const instances = computed(() =>
|
const instances = computed(() =>
|
||||||
asyncProfilingStore.instances.filter((d: Instance) =>
|
asyncProfilingStore.instances.filter((d: Instance) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user