Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
92c6794b
authored
Jan 03, 2026
by
Seefs
Committed by
GitHub
Jan 03, 2026
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2554 from zpc7/bugfix/remove-duplicate-condition
parents
ce44333a
5da36c81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
13 deletions
+11
-13
web/src/components/table/task-logs/TaskLogsColumnDefs.jsx
+11
-13
No files found.
web/src/components/table/task-logs/TaskLogsColumnDefs.jsx
View file @
92c6794b
...
@@ -371,19 +371,17 @@ export const getTaskLogsColumns = ({
...
@@ -371,19 +371,17 @@ export const getTaskLogsColumns = ({
const
isSuccess
=
record
.
status
===
'SUCCESS'
;
const
isSuccess
=
record
.
status
===
'SUCCESS'
;
const
isUrl
=
typeof
text
===
'string'
&&
/^https
?
:
\/\/
/
.
test
(
text
);
const
isUrl
=
typeof
text
===
'string'
&&
/^https
?
:
\/\/
/
.
test
(
text
);
if
(
isSuccess
&&
isVideoTask
&&
isUrl
)
{
if
(
isSuccess
&&
isVideoTask
&&
isUrl
)
{
if
(
isSuccess
&&
isVideoTask
&&
isUrl
)
{
return
(
return
(
<
a
<
a
href=
'#'
href=
'#'
onClick=
{
(
e
)
=>
{
onClick=
{
(
e
)
=>
{
e
.
preventDefault
();
e
.
preventDefault
();
openVideoModal
(
text
);
openVideoModal
(
text
);
}
}
}
}
>
>
{
t
(
'点击预览视频'
)
}
{
t
(
'点击预览视频'
)
}
</
a
>
</
a
>
);
);
}
}
}
if
(
!
text
)
{
if
(
!
text
)
{
return
t
(
'无'
);
return
t
(
'无'
);
...
...
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