From bd2d31c687e4adea3e583e9238ce232a4be6388f Mon Sep 17 00:00:00 2001 From: wenlele Date: Sun, 6 Nov 2022 13:25:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/.vscode/launch.json | 2 +- web/client/src/sections/control/containers/control.jsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/.vscode/launch.json b/api/.vscode/launch.json index a762b66..47dc57b 100644 --- a/api/.vscode/launch.json +++ b/api/.vscode/launch.json @@ -40,7 +40,7 @@ // click 开发 // "--clickHouseUrl http://10.8.30.71", // click 测试 - "--clickHouseUrl http://10.8.30.161", + "--clickHouseUrl http://10.8.30.156", // "--clickHouseUrl https://clickhouse01.anxinyun.cn/play", "--clickHousePort 30123", diff --git a/web/client/src/sections/control/containers/control.jsx b/web/client/src/sections/control/containers/control.jsx index 917333c..69c2952 100644 --- a/web/client/src/sections/control/containers/control.jsx +++ b/web/client/src/sections/control/containers/control.jsx @@ -101,9 +101,9 @@ const Control = (props) => { if (pepProjectId) setProjectId(pepProjectId) if (!projectId) { // 工作台数据请求 - dispatch(control.getConsoleCount({ pepProjectId: pepProjectId })).then(res => { - if (res.success) setWorkData(res.payload.data) - }) + // dispatch(control.getConsoleCount({ pepProjectId: pepProjectId })).then(res => { + // if (res.success) setWorkData(res.payload.data) + // }) // 查询BI分析数据-数据 dispatch(control.getDataAlarmsAggDay({ pepProjectId: pepProjectId })).then(res => {