移除console.log

This commit is contained in:
hanhh 2021-05-29 12:05:36 +08:00
parent e5ec982891
commit 06595021cd
3 changed files with 3 additions and 4 deletions

View File

@ -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();
});

View File

@ -35,7 +35,6 @@ const Log = () => {
};
const getLog = (node: any) => {
console.log(node);
setLoading(true);
request
.get(`${config.apiPrefix}logs/${node.value}`)

View File

@ -104,7 +104,8 @@ const Password = () => {
>
<Tabs
defaultActiveKey="person"
tabPosition="left"
size="small"
tabPosition="top"
style={{ height: 'calc(100vh - var(--vh-offset, 0px) - 128px)' }}
>
<Tabs.TabPane tab="个人设置" key="person">
@ -116,7 +117,7 @@ const Password = () => {
hasFeedback
style={{ maxWidth: 300 }}
>
<Input placeholder="用户名" autoFocus />
<Input placeholder="用户名" />
</Form.Item>
<Form.Item
label="密码"