mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 00:08:56 +00:00
feat: update
This commit is contained in:
parent
d7bc79310d
commit
0b8f40bab5
@ -20,11 +20,11 @@ import graphql from "@/graphql";
|
||||
import type { AxiosResponse } from "axios";
|
||||
import type { EBPFTaskList } from "@/types/ebpf";
|
||||
import { useNetworkProfilingStore } from "@/store/modules/network-profiling";
|
||||
// import { EBPFProfilingTriggerType } from "../data";
|
||||
|
||||
interface taskTimelineState {
|
||||
loading: boolean;
|
||||
taskList: EBPFTaskList[];
|
||||
selectedTask: Recordable<EBPFTaskList>;
|
||||
}
|
||||
|
||||
export const taskTimelineStore = defineStore({
|
||||
@ -32,8 +32,12 @@ export const taskTimelineStore = defineStore({
|
||||
state: (): taskTimelineState => ({
|
||||
loading: false,
|
||||
taskList: [],
|
||||
selectedTask: {},
|
||||
}),
|
||||
actions: {
|
||||
setSelectedTask(task: Recordable<EBPFTaskList>) {
|
||||
this.selectedTask = task || {};
|
||||
},
|
||||
async getContinousTaskList(params: {
|
||||
serviceId: string;
|
||||
serviceInstanceId: string;
|
||||
|
@ -32,7 +32,7 @@ limitations under the License. -->
|
||||
defineProps({
|
||||
config: {
|
||||
type: Object as PropType<any>,
|
||||
default: () => ({ graph: {} }),
|
||||
default: () => ({}),
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
@ -34,7 +34,7 @@ limitations under the License. -->
|
||||
defineProps({
|
||||
config: {
|
||||
type: Object as PropType<any>,
|
||||
default: () => ({ graph: {} }),
|
||||
default: () => ({}),
|
||||
},
|
||||
});
|
||||
const networkProfilingStore = useNetworkProfilingStore();
|
||||
|
@ -27,7 +27,7 @@ limitations under the License. -->
|
||||
defineProps({
|
||||
config: {
|
||||
type: Object as PropType<any>,
|
||||
default: () => ({ graph: {} }),
|
||||
default: () => ({}),
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
@ -22,7 +22,7 @@ limitations under the License. -->
|
||||
defineProps({
|
||||
config: {
|
||||
type: Object as PropType<any>,
|
||||
default: () => ({ graph: {} }),
|
||||
default: () => ({}),
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user