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
dafa4176
Unverified
Commit
dafa4176
authored
Aug 01, 2022
by
zhu-mingye
Committed by
GitHub
Aug 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optimization StudioConsole's StudioProcess click show flinksql the div overflow (#802)
parent
9d09d2a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
index.tsx
...c/components/Studio/StudioConsole/StudioHistory/index.tsx
+5
-6
No files found.
dlink-web/src/components/Studio/StudioConsole/StudioHistory/index.tsx
View file @
dafa4176
...
...
@@ -20,20 +20,19 @@
import
{
StateType
}
from
"@/pages/DataStudio/model"
;
import
{
connect
}
from
"umi"
;
import
{
Tag
,
Space
,
Typography
,
Divider
,
Badge
,
Modal
}
from
'antd'
;
import
{
MessageOutlined
,
ClusterOutlined
,
FireOutlined
,
RocketOutlined
}
from
"@ant-design/icons"
;
import
{
Badge
,
Divider
,
Modal
,
Space
,
Tag
,
Typography
}
from
'antd'
;
import
{
ClusterOutlined
,
FireOutlined
,
MessageOutlined
,
RocketOutlined
}
from
"@ant-design/icons"
;
import
ProList
from
'@ant-design/pro-list'
;
import
{
handleRemove
,
queryData
}
from
"@/components/Common/crud"
;
import
ProDescriptions
from
'@ant-design/pro-descriptions'
;
import
React
,
{
useState
}
from
"react"
;
import
{
ModalForm
,
}
from
'@ant-design/pro-form'
;
import
{
ModalForm
,}
from
'@ant-design/pro-form'
;
import
styles
from
"./index.less"
;
import
{
Scrollbars
}
from
'react-custom-scrollbars'
;
import
StudioPreview
from
"../StudioPreview"
;
import
{
getJobData
}
from
"@/pages/DataStudio/service"
;
import
{
HistoryItem
}
from
"@/components/Studio/StudioConsole/StudioHistory/data"
;
import
CodeShow
from
"@/components/Common/CodeShow"
;
const
{
Title
,
Paragraph
,
Text
,
Link
}
=
Typography
;
...
...
@@ -356,7 +355,7 @@ const StudioHistory = (props: any) => {
</
Tag
>
</
ProDescriptions
.
Item
>
<
ProDescriptions
.
Item
>
<
pre
className=
{
styles
.
code
}
>
{
row
.
statement
}
</
pre
>
<
CodeShow
width=
{
"100%"
}
height=
{
"500px"
}
language=
{
"sql"
}
code=
{
row
.
statement
}
theme=
{
"vs-dark"
}
/
>
</
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