移除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) .map((x) => x.pid)
.filter((x) => !!x) .filter((x) => !!x)
.join('\n'); .join('\n');
console.log(pids);
exec(`echo - e "${pids}" | xargs kill - 9`, (err) => { exec(`echo - e "${pids}" | xargs kill - 9`, (err) => {
resolve(); resolve();
}); });

View File

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

View File

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