Commit eb80e24a authored by 智勇's avatar 智勇
parents 0165e640 0dd157f2
......@@ -245,8 +245,8 @@ export const asyncRouterMap = [
redirect: 'cpu',
name: 'Resources',
meta: {
title: 'resources',
icon: 'pipeline'
title: '资源使用率',
icon: 'table'
},
children: [
{
......
......@@ -28,7 +28,7 @@
</el-table-column>
<el-table-column label="服务名" prop="Action" align="center">
<template slot-scope="scope">
<span >{{ scope.row.name }}</span>
<span >{{ scope.row._id }}</span>
</template>
</el-table-column>
<el-table-column label="Cpu Used Limit" prop="Microservice Name" align="center">
......@@ -93,7 +93,7 @@ export default {
}
getCpu({ startTime: this.startTime, endTime: this.endTime }).then((res) => {
if (res.data.length > 0) {
this.memoryResources = res.data
this.cpuResources = res.data
} else {
this.$notify({
title: '警告',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment