feat: change metric graph with selectors

This commit is contained in:
Qiuxia Fan
2022-01-21 20:55:10 +08:00
parent 51a2ac8931
commit 57faac6ddc
6 changed files with 29 additions and 12 deletions

View File

@@ -69,7 +69,8 @@ import { InstanceListConfig } from "@/types/dashboard";
/*global defineProps */
defineProps({
data: {
type: Object,
type: Object as PropType<{ [key: string]: number[] }>,
default: () => ({}),
},
config: {
type: Object as PropType<InstanceListConfig>,