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: '运维监控' },{