From 06595021cd74944726b30ebd13b8aba3124db66d Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Sat, 29 May 2021 12:05:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4console.log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- back/services/cron.ts | 1 - src/pages/log/index.tsx | 1 - src/pages/setting/index.tsx | 5 +++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/back/services/cron.ts b/back/services/cron.ts index 0b32e99f..c5c718ec 100644 --- a/back/services/cron.ts +++ b/back/services/cron.ts @@ -159,7 +159,6 @@ export default class CronService { .map((x) => x.pid) .filter((x) => !!x) .join('\n'); - console.log(pids); exec(`echo - e "${pids}" | xargs kill - 9`, (err) => { resolve(); }); diff --git a/src/pages/log/index.tsx b/src/pages/log/index.tsx index 9bc8b238..efa2f9da 100644 --- a/src/pages/log/index.tsx +++ b/src/pages/log/index.tsx @@ -35,7 +35,6 @@ const Log = () => { }; const getLog = (node: any) => { - console.log(node); setLoading(true); request .get(`${config.apiPrefix}logs/${node.value}`) diff --git a/src/pages/setting/index.tsx b/src/pages/setting/index.tsx index fd71edde..a65314c6 100644 --- a/src/pages/setting/index.tsx +++ b/src/pages/setting/index.tsx @@ -104,7 +104,8 @@ const Password = () => { > @@ -116,7 +117,7 @@ const Password = () => { hasFeedback style={{ maxWidth: 300 }} > - +