mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
移除console.log
This commit is contained in:
parent
e5ec982891
commit
06595021cd
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
|
@ -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}`)
|
||||||
|
|
|
@ -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="密码"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user