Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dlink
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
zhaowei
dlink
Commits
045fca96
Commit
045fca96
authored
Jan 22, 2022
by
wenmo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复日志预览内容溢出 bug
parent
02cc880a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
index.less
.../components/Studio/StudioConsole/StudioHistory/index.less
+3
-3
index.tsx
...c/components/Studio/StudioConsole/StudioHistory/index.tsx
+4
-2
No files found.
dlink-web/src/components/Studio/StudioConsole/StudioHistory/index.less
View file @
045fca96
.code{
width: 100%;
max-height: 5
00px;
//
width: 100%;
//max-height: 4
00px;
display: block;
padding: 16px;
overflow: auto;
//
overflow: auto;
font-size: 85%;
line-height: 1.45;
background-color: rgb(246, 248, 250);
...
...
dlink-web/src/components/Studio/StudioConsole/StudioHistory/index.tsx
View file @
045fca96
...
...
@@ -10,7 +10,7 @@ import {
ModalForm
,
}
from
'@ant-design/pro-form'
;
import
styles
from
"./index.less"
;
import
{
showJobData
}
from
"@/components/Studio/StudioEvent/DQL"
;
import
{
Scrollbars
}
from
'react-custom-scrollbars'
;
import
StudioPreview
from
"../StudioPreview"
;
import
{
getJobData
}
from
"@/pages/FlinkSqlStudio/service"
;
...
...
@@ -361,8 +361,10 @@ const StudioHistory = (props: any) => {
<
FireOutlined
/>
{
row
.
jobId
}
</
Tag
>
</
ProDescriptions
.
Item
>
<
ProDescriptions
.
Item
>
<
ProDescriptions
.
Item
>
<
Scrollbars
style=
{
{
height
:
'400px'
,
width
:
'100%'
}
}
>
<
pre
className=
{
styles
.
code
}
>
{
row
.
error
}
</
pre
>
</
Scrollbars
>
</
ProDescriptions
.
Item
>
</
ProDescriptions
>
)
}
...
...
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