This commit is contained in:
Qiuxia Fan 2022-03-21 23:17:24 +08:00
commit 4367b53030
3 changed files with 2 additions and 3 deletions

View File

@ -25,7 +25,7 @@ export const routesInfra: Array<RouteRecordRaw> = [
title: "infrastructure", title: "infrastructure",
icon: "scatter_plot", icon: "scatter_plot",
exact: true, exact: true,
hasGroup: true, hasGroup: false,
}, },
redirect: "/infrastructure", redirect: "/infrastructure",
component: Layout, component: Layout,

View File

@ -61,7 +61,7 @@ limitations under the License. -->
<el-table-column label="Operations"> <el-table-column label="Operations">
<template #default="scope"> <template #default="scope">
<el-button size="small" @click="handleEdit(scope.row)"> <el-button size="small" @click="handleEdit(scope.row)">
{{ t("edit") }} {{ t("rename") }}
</el-button> </el-button>
<el-button size="small" @click="handleRename(scope.row)"> <el-button size="small" @click="handleRename(scope.row)">
{{ t("rename") }} {{ t("rename") }}

View File

@ -374,7 +374,6 @@ async function changeLinkClientMetrics(options: Option[] | any) {
} }
topologyStore.getLinkClientMetrics(states.linkClientMetrics); topologyStore.getLinkClientMetrics(states.linkClientMetrics);
} }
async function changeNodeMetrics(options: Option[] | any) { async function changeNodeMetrics(options: Option[] | any) {
states.nodeMetrics = options.map((d: Option) => d.value); states.nodeMetrics = options.map((d: Option) => d.value);
updateSettings(); updateSettings();