diff --git a/src/views/monitor/topologyBuild/index.vue b/src/views/monitor/topologyBuild/index.vue index b4046211..f56e83c1 100644 --- a/src/views/monitor/topologyBuild/index.vue +++ b/src/views/monitor/topologyBuild/index.vue @@ -52,7 +52,7 @@ function fnGraphDataGroups(reload: boolean = false) { getGraphGroups() .then(res => { if (res.code === RESULT_CODE_SUCCESS) { - graphState.groupOptions = res.data.map(str => { + graphState.groupOptions = res.data.map((str: string) => { return { label: str, value: str }; }); // 非重载