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
34555b1e
Unverified
Commit
34555b1e
authored
Mar 29, 2022
by
aiwenmo
Committed by
GitHub
Mar 29, 2022
Browse files
Options
Browse Files
Download
Plain Diff
[Fix-192][web] Add a button to exit full screen
[Fix-192][web] Add a button to exit full screen
parents
f54c549a
3e5a6bfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
index.tsx
dlink-web/src/components/Studio/StudioMenu/index.tsx
+11
-2
No files found.
dlink-web/src/components/Studio/StudioMenu/index.tsx
View file @
34555b1e
...
...
@@ -4,7 +4,7 @@ import {
PauseCircleTwoTone
,
CarryOutTwoTone
,
DeleteTwoTone
,
PlayCircleTwoTone
,
CameraTwoTone
,
SnippetsTwoTone
,
FileAddTwoTone
,
FolderOpenTwoTone
,
SafetyCertificateTwoTone
,
SaveTwoTone
,
FlagTwoTone
,
CodeTwoTone
,
EnvironmentOutlined
,
SmileOutlined
,
RocketTwoTone
,
QuestionCircleTwoTone
,
MessageOutlined
,
ClusterOutlined
,
EditTwoTone
,
RestTwoTone
,
EditTwoTone
,
RestTwoTone
,
ShrinkOutlined
}
from
"@ant-design/icons"
;
import
Space
from
"antd/es/space"
;
import
Divider
from
"antd/es/divider"
;
...
...
@@ -698,7 +698,16 @@ const StudioMenu = (props: any) => {
style=
{
{
top
:
0
,
padding
:
0
,
margin
:
0
,
maxWidth
:
'100vw'
}
}
destroyOnClose
maskClosable=
{
false
}
closable=
{
false
}
closable=
{
true
}
closeIcon=
{
<
Tooltip
title=
"退出全屏"
>
<
Button
icon=
{
<
ShrinkOutlined
/>
}
type=
"primary"
style=
{
{
position
:
"fixed"
,
right
:
"0"
}
}
>
退出
</
Button
>
</
Tooltip
>
}
visible=
{
isFullScreen
}
footer=
{
null
}
onCancel=
{
()
=>
{
...
...
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