Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
b099de0d
Unverified
Commit
b099de0d
authored
Apr 18, 2024
by
gaoyan
Committed by
GitHub
Apr 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Optmize] Remove unuse log (#3413)
Co-authored-by:
gaoyan1998
<
gaoyan1998@users.noreply.github.com
>
parent
7b088284
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
5 deletions
+0
-5
jest.config.ts
dinky-web/jest.config.ts
+0
-1
index.tsx
dinky-web/src/pages/DevOps/JobDetail/index.tsx
+0
-1
index.tsx
dinky-web/src/pages/Metrics/JobMetricsList/index.tsx
+0
-1
index.tsx
dinky-web/src/pages/Other/Redirect/index.tsx
+0
-2
No files found.
dinky-web/jest.config.ts
View file @
b099de0d
...
@@ -24,7 +24,6 @@ export default async () => {
...
@@ -24,7 +24,6 @@ export default async () => {
})
})
});
});
console
.
log
();
return
{
return
{
...
config
,
...
config
,
testEnvironmentOptions
:
{
testEnvironmentOptions
:
{
...
...
dinky-web/src/pages/DevOps/JobDetail/index.tsx
View file @
b099de0d
...
@@ -109,7 +109,6 @@ const JobDetail = (props: any) => {
...
@@ -109,7 +109,6 @@ const JobDetail = (props: any) => {
},
},
{
tab
:
l
(
'devops.jobinfo.config.JobAlert'
),
key
:
OperatorEnum
.
JOB_ALERT
}
{
tab
:
l
(
'devops.jobinfo.config.JobAlert'
),
key
:
OperatorEnum
.
JOB_ALERT
}
];
];
console
.
log
(
!!
data
);
return
(
return
(
<
PageContainer
<
PageContainer
...
...
dinky-web/src/pages/Metrics/JobMetricsList/index.tsx
View file @
b099de0d
...
@@ -89,7 +89,6 @@ const JobMetricsList = (props: MetricsProps) => {
...
@@ -89,7 +89,6 @@ const JobMetricsList = (props: MetricsProps) => {
setJobIds
(
jids
.
join
(
','
));
setJobIds
(
jids
.
join
(
','
));
if
(
timeRange
.
isReal
)
{
if
(
timeRange
.
isReal
)
{
return
subscribeTopic
(
topics
,
(
data
:
SseData
)
=>
{
return
subscribeTopic
(
topics
,
(
data
:
SseData
)
=>
{
console
.
log
(
data
.
data
);
setChartDatas
((
prevState
)
=>
dataProcess
(
prevState
,
[
data
.
data
]));
setChartDatas
((
prevState
)
=>
dataProcess
(
prevState
,
[
data
.
data
]));
});
});
}
}
...
...
dinky-web/src/pages/Other/Redirect/index.tsx
View file @
b099de0d
...
@@ -23,8 +23,6 @@ import { Navigate, useModel } from 'umi';
...
@@ -23,8 +23,6 @@ import { Navigate, useModel } from 'umi';
const
Redirect
=
()
=>
{
const
Redirect
=
()
=>
{
const
{
initialState
,
_
}
=
useModel
(
'@@initialState'
);
const
{
initialState
,
_
}
=
useModel
(
'@@initialState'
);
console
.
log
(
initialState
);
const
filterMenus
=
(
menus
:
SysMenu
[])
=>
{
const
filterMenus
=
(
menus
:
SysMenu
[])
=>
{
return
menus
?.
filter
((
menu
)
=>
menu
.
type
!==
'F'
);
return
menus
?.
filter
((
menu
)
=>
menu
.
type
!==
'F'
);
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment