From b0ae6b475487fae5e943c936d6b78a1cbd44baaa Mon Sep 17 00:00:00 2001 From: wenlele Date: Tue, 3 Jan 2023 09:54:38 +0800 Subject: [PATCH] /monitor --- api/.vscode/launch.json | 4 ++-- api/app/lib/controllers/project/index.js | 2 +- web/client/src/sections/facility/nav-item.jsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/.vscode/launch.json b/api/.vscode/launch.json index e7a1783..b93dda7 100644 --- a/api/.vscode/launch.json +++ b/api/.vscode/launch.json @@ -55,9 +55,9 @@ // "--clickHouseDataAlarm default", // "--clickHouseIot iot", // 测试 - "--clickHouseAnxincloud anxinyun1", + "--clickHouseAnxincloud anxinyun88", "--clickHousePepEmis pepca8", - "--clickHouseProjectManage peppm8", + "--clickHouseProjectManage peppm", "--clickHouseVcmp video_access_dev", "--clickHouseDataAlarm default", "--clickHouseIot iot", diff --git a/api/app/lib/controllers/project/index.js b/api/app/lib/controllers/project/index.js index 3e6b2ae..45d0f77 100644 --- a/api/app/lib/controllers/project/index.js +++ b/api/app/lib/controllers/project/index.js @@ -126,7 +126,7 @@ async function pomsProject (ctx) { ctx.status = 200; ctx.body = proRes } catch (error) { - ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); + ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`) ctx.status = 400; ctx.body = { message: typeof error == 'string' ? error : undefined diff --git a/web/client/src/sections/facility/nav-item.jsx b/web/client/src/sections/facility/nav-item.jsx index 90f10c0..0a5c662 100644 --- a/web/client/src/sections/facility/nav-item.jsx +++ b/web/client/src/sections/facility/nav-item.jsx @@ -21,7 +21,7 @@ export function getNavItem (user, dispatch) { itemKey: 'serverInformation', text: '服务器信息', icon: , - to: '/facility/serverInformation', + to: '/facility/serverInformation/monitor', items: [{ itemKey: 'monitor', to: '/facility/serverInformation/monitor', text: '运维监控' },{