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
055bd177
Unverified
Commit
055bd177
authored
Sep 08, 2023
by
Licho
Committed by
GitHub
Sep 08, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warning (#2299)
* fix: warnning * Spotless Apply * fix: warnning menu * Spotless Apply --------- Co-authored-by:
leechor
<
leechor@users.noreply.github.com
>
parent
be77c51b
Show whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
9 additions
and
39 deletions
+9
-39
config.ts
dinky-web/config/config.ts
+1
-1
index.tsx
dinky-web/src/components/RightContextMenu/index.tsx
+2
-5
pages.ts
dinky-web/src/locales/zh-CN/pages.ts
+4
-1
index.tsx
.../pages/AuthCenter/Role/components/RoleModalForm/index.tsx
+0
-2
index.tsx
...uthCenter/Tenant/components/TenantModalTransfer/index.tsx
+0
-2
index.tsx
.../pages/AuthCenter/User/components/PasswordModal/index.tsx
+0
-2
index.tsx
...es/AuthCenter/User/components/RoleModalTransfer/index.tsx
+0
-2
index.tsx
.../pages/AuthCenter/User/components/UserModalForm/index.tsx
+0
-2
index.tsx
...ages/DataStudio/FooterContainer/JobRunningModal/index.tsx
+0
-2
index.tsx
.../pages/DataStudio/RightContainer/HistoryVersion/index.tsx
+0
-2
index.tsx
...b/src/pages/DataStudio/RightContainer/JobConfig/index.tsx
+0
-2
model.ts
dinky-web/src/pages/DataStudio/model.ts
+2
-2
index.tsx
dinky-web/src/pages/Other/Login/ChooseModal/index.tsx
+0
-2
index.tsx
...ther/PersonCenter/OperationLogRecord/ResultShow/index.tsx
+0
-2
index.tsx
...ges/RegCenter/Document/components/DocumentModal/index.tsx
+0
-2
index.tsx
...ages/RegCenter/GitProject/components/BuildSteps/index.tsx
+0
-2
index.tsx
.../pages/RegCenter/GitProject/components/CodeTree/index.tsx
+0
-2
index.tsx
...s/RegCenter/GlobalVar/components/GlobalVarModal/index.tsx
+0
-2
index.tsx
...ss/components/ProcessList/SubStepsTable/ShowLog/index.tsx
+0
-2
No files found.
dinky-web/config/config.ts
View file @
055bd177
...
@@ -131,7 +131,7 @@ export default defineConfig({
...
@@ -131,7 +131,7 @@ export default defineConfig({
default
:
'zh-CN'
,
default
:
'zh-CN'
,
antd
:
true
,
antd
:
true
,
// default true, when it is true, will use `navigator.language` overwrite default
// default true, when it is true, will use `navigator.language` overwrite default
baseNavigator
:
tru
e
,
baseNavigator
:
fals
e
,
useLocalStorage
:
true
useLocalStorage
:
true
},
},
...
...
dinky-web/src/components/RightContextMenu/index.tsx
View file @
055bd177
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
*
*
*/
*/
import
{
Dropdown
,
Menu
}
from
'antd'
;
import
{
Dropdown
}
from
'antd'
;
import
{
MenuItemType
}
from
'antd/es/menu/hooks/useItems'
;
import
{
MenuItemType
}
from
'antd/es/menu/hooks/useItems'
;
import
{
MenuInfo
}
from
'rc-menu/es/interface'
;
import
{
MenuInfo
}
from
'rc-menu/es/interface'
;
import
React
from
'react'
;
import
React
from
'react'
;
...
@@ -33,21 +33,18 @@ type RightContextMenuProps = {
...
@@ -33,21 +33,18 @@ type RightContextMenuProps = {
const
RightContextMenu
:
React
.
FC
<
RightContextMenuProps
>
=
(
props
)
=>
{
const
RightContextMenu
:
React
.
FC
<
RightContextMenuProps
>
=
(
props
)
=>
{
const
{
onClick
,
items
,
openChange
,
open
,
contextMenuPosition
}
=
props
;
const
{
onClick
,
items
,
openChange
,
open
,
contextMenuPosition
}
=
props
;
const
menu
=
<
Menu
onClick=
{
onClick
}
items=
{
items
}
/>;
return
(
return
(
<>
<
Dropdown
<
Dropdown
arrow
arrow
trigger=
{
[
'contextMenu'
]
}
trigger=
{
[
'contextMenu'
]
}
overlayStyle=
{
{
...
contextMenuPosition
}
}
overlayStyle=
{
{
...
contextMenuPosition
}
}
overlay=
{
menu
}
menu=
{
{
onClick
:
onClick
,
items
:
items
}
}
open=
{
open
}
open=
{
open
}
onOpenChange=
{
openChange
}
onOpenChange=
{
openChange
}
>
>
{
/*占位*/
}
{
/*占位*/
}
<
div
style=
{
{
...
contextMenuPosition
}
}
/>
<
div
style=
{
{
...
contextMenuPosition
}
}
/>
</
Dropdown
>
</
Dropdown
>
</>
);
);
};
};
...
...
dinky-web/src/locales/zh-CN/pages.ts
View file @
055bd177
...
@@ -87,6 +87,7 @@ export default {
...
@@ -87,6 +87,7 @@ export default {
//-------------------------------- devops --------------------------------
//-------------------------------- devops --------------------------------
// devops
// devops
'pages.devops.jobinfo.localenv'
:
'本地环境'
,
'devops.joblist.joblist'
:
'任务列表'
,
'devops.joblist.joblist'
:
'任务列表'
,
'devops.joblist.history'
:
'历史'
,
'devops.joblist.history'
:
'历史'
,
'devops.joblist.detail'
:
'详情'
,
'devops.joblist.detail'
:
'详情'
,
...
@@ -1196,5 +1197,7 @@ export default {
...
@@ -1196,5 +1197,7 @@ export default {
'catalog.udf.templateId'
:
'UDF 模板'
,
'catalog.udf.templateId'
:
'UDF 模板'
,
'catalog.udf.templateId.placeholder'
:
'请选择 UDF 模板'
,
'catalog.udf.templateId.placeholder'
:
'请选择 UDF 模板'
,
'catalog.udf.className'
:
'类或方法名'
,
'catalog.udf.className'
:
'类或方法名'
,
'catalog.udf.className.placeholder'
:
'请输入类或方法名'
'catalog.udf.className.placeholder'
:
'请输入类或方法名'
,
'button.push'
:
'提交'
};
};
dinky-web/src/pages/AuthCenter/Role/components/RoleModalForm/index.tsx
View file @
055bd177
...
@@ -79,7 +79,6 @@ const RoleModalForm: React.FC<RoleModalProps> = (props) => {
...
@@ -79,7 +79,6 @@ const RoleModalForm: React.FC<RoleModalProps> = (props) => {
* render
* render
*/
*/
return
(
return
(
<>
<
Modal
<
Modal
{
...
NORMAL_MODAL_OPTIONS
}
{
...
NORMAL_MODAL_OPTIONS
}
title=
{
values
.
id
?
l
(
'role.update'
)
:
l
(
'role.create'
)
}
title=
{
values
.
id
?
l
(
'role.update'
)
:
l
(
'role.create'
)
}
...
@@ -89,7 +88,6 @@ const RoleModalForm: React.FC<RoleModalProps> = (props) => {
...
@@ -89,7 +88,6 @@ const RoleModalForm: React.FC<RoleModalProps> = (props) => {
>
>
<
RoleProForm
form=
{
form
}
values=
{
values
}
/>
<
RoleProForm
form=
{
form
}
values=
{
values
}
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
export
default
RoleModalForm
;
export
default
RoleModalForm
;
dinky-web/src/pages/AuthCenter/Tenant/components/TenantModalTransfer/index.tsx
View file @
055bd177
...
@@ -40,7 +40,6 @@ const TenantModalTransfer: React.FC<TableTransferFromProps> = (props) => {
...
@@ -40,7 +40,6 @@ const TenantModalTransfer: React.FC<TableTransferFromProps> = (props) => {
};
};
return
(
return
(
<>
<
Modal
<
Modal
title=
{
l
(
'tenant.AssignUser'
)
}
title=
{
l
(
'tenant.AssignUser'
)
}
open=
{
modalVisible
}
open=
{
modalVisible
}
...
@@ -52,7 +51,6 @@ const TenantModalTransfer: React.FC<TableTransferFromProps> = (props) => {
...
@@ -52,7 +51,6 @@ const TenantModalTransfer: React.FC<TableTransferFromProps> = (props) => {
>
>
<
TenantTransfer
tenant=
{
tenant
}
onChange=
{
(
value
)
=>
handleValueChange
(
value
)
}
/>
<
TenantTransfer
tenant=
{
tenant
}
onChange=
{
(
value
)
=>
handleValueChange
(
value
)
}
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
export
default
TenantModalTransfer
;
export
default
TenantModalTransfer
;
dinky-web/src/pages/AuthCenter/User/components/PasswordModal/index.tsx
View file @
055bd177
...
@@ -85,7 +85,6 @@ const PasswordModal: React.FC<PasswordModalFormProps> = (props) => {
...
@@ -85,7 +85,6 @@ const PasswordModal: React.FC<PasswordModalFormProps> = (props) => {
* render
* render
*/
*/
return
(
return
(
<>
<
Modal
<
Modal
{
...
NORMAL_MODAL_OPTIONS
}
{
...
NORMAL_MODAL_OPTIONS
}
title=
{
l
(
'button.changePassword'
)
}
title=
{
l
(
'button.changePassword'
)
}
...
@@ -95,7 +94,6 @@ const PasswordModal: React.FC<PasswordModalFormProps> = (props) => {
...
@@ -95,7 +94,6 @@ const PasswordModal: React.FC<PasswordModalFormProps> = (props) => {
>
>
<
PasswordForm
values=
{
values
as
any
}
form=
{
form
}
/>
<
PasswordForm
values=
{
values
as
any
}
form=
{
form
}
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
...
...
dinky-web/src/pages/AuthCenter/User/components/RoleModalTransfer/index.tsx
View file @
055bd177
...
@@ -44,7 +44,6 @@ const RoleModalTransfer = (props: RoleTransferFromProps) => {
...
@@ -44,7 +44,6 @@ const RoleModalTransfer = (props: RoleTransferFromProps) => {
};
};
return
(
return
(
<>
<
Modal
<
Modal
title=
{
l
(
'user.assignRole'
)
}
title=
{
l
(
'user.assignRole'
)
}
open=
{
modalVisible
}
open=
{
modalVisible
}
...
@@ -56,7 +55,6 @@ const RoleModalTransfer = (props: RoleTransferFromProps) => {
...
@@ -56,7 +55,6 @@ const RoleModalTransfer = (props: RoleTransferFromProps) => {
>
>
<
RoleTransfer
role=
{
user
}
onChange=
{
(
value
)
=>
handleValueChange
(
value
)
}
/>
<
RoleTransfer
role=
{
user
}
onChange=
{
(
value
)
=>
handleValueChange
(
value
)
}
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
export
default
RoleModalTransfer
;
export
default
RoleModalTransfer
;
dinky-web/src/pages/AuthCenter/User/components/UserModalForm/index.tsx
View file @
055bd177
...
@@ -76,7 +76,6 @@ const UserModalForm: React.FC<UserModalFormProps> = (props) => {
...
@@ -76,7 +76,6 @@ const UserModalForm: React.FC<UserModalFormProps> = (props) => {
};
};
return
(
return
(
<>
<
Modal
<
Modal
{
...
NORMAL_MODAL_OPTIONS
}
{
...
NORMAL_MODAL_OPTIONS
}
title=
{
values
.
id
?
l
(
'user.update'
)
:
l
(
'user.create'
)
}
title=
{
values
.
id
?
l
(
'user.update'
)
:
l
(
'user.create'
)
}
...
@@ -86,7 +85,6 @@ const UserModalForm: React.FC<UserModalFormProps> = (props) => {
...
@@ -86,7 +85,6 @@ const UserModalForm: React.FC<UserModalFormProps> = (props) => {
>
>
<
UserForm
values=
{
values
}
form=
{
form
}
/>
<
UserForm
values=
{
values
}
form=
{
form
}
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
...
...
dinky-web/src/pages/DataStudio/FooterContainer/JobRunningModal/index.tsx
View file @
055bd177
...
@@ -32,7 +32,6 @@ const JobRunningModal: React.FC<JobRunningModalProps> = (props) => {
...
@@ -32,7 +32,6 @@ const JobRunningModal: React.FC<JobRunningModalProps> = (props) => {
const
{
visible
,
onCancel
,
onOk
,
value
}
=
props
;
const
{
visible
,
onCancel
,
onOk
,
value
}
=
props
;
return
(
return
(
<>
<
Modal
<
Modal
title=
{
`Job ${value?.jobName} is running`
}
title=
{
`Job ${value?.jobName} is running`
}
open=
{
visible
}
open=
{
visible
}
...
@@ -59,7 +58,6 @@ const JobRunningModal: React.FC<JobRunningModalProps> = (props) => {
...
@@ -59,7 +58,6 @@ const JobRunningModal: React.FC<JobRunningModalProps> = (props) => {
</
Row
>
</
Row
>
</
Space
>
</
Space
>
</
Modal
>
</
Modal
>
</>
);
);
};
};
...
...
dinky-web/src/pages/DataStudio/RightContainer/HistoryVersion/index.tsx
View file @
055bd177
...
@@ -59,7 +59,6 @@ const HistoryVersion = (props: any) => {
...
@@ -59,7 +59,6 @@ const HistoryVersion = (props: any) => {
let
currentValue
=
current
?.
statement
;
let
currentValue
=
current
?.
statement
;
return
(
return
(
<>
<
Modal
<
Modal
title=
{
l
(
'pages.datastudio.label.version.diff'
)
}
title=
{
l
(
'pages.datastudio.label.version.diff'
)
}
open=
{
versionDiffVisible
}
open=
{
versionDiffVisible
}
...
@@ -99,7 +98,6 @@ const HistoryVersion = (props: any) => {
...
@@ -99,7 +98,6 @@ const HistoryVersion = (props: any) => {
/>
/>
</
React
.
StrictMode
>
</
React
.
StrictMode
>
</
Modal
>
</
Modal
>
</>
);
);
};
};
...
...
dinky-web/src/pages/DataStudio/RightContainer/JobConfig/index.tsx
View file @
055bd177
...
@@ -193,7 +193,6 @@ const JobConfig = (props: any) => {
...
@@ -193,7 +193,6 @@ const JobConfig = (props: any) => {
tooltip=
{
l
(
'pages.datastudio.label.jobConfig.flinksql.env.tip1'
)
}
tooltip=
{
l
(
'pages.datastudio.label.jobConfig.flinksql.env.tip1'
)
}
options=
{
buildEnvOptions
(
env
)
}
options=
{
buildEnvOptions
(
env
)
}
showSearch
showSearch
initialValue=
{
0
}
/>
/>
<
ProFormGroup
>
<
ProFormGroup
>
...
@@ -243,7 +242,6 @@ const JobConfig = (props: any) => {
...
@@ -243,7 +242,6 @@ const JobConfig = (props: any) => {
name=
'savePointStrategy'
name=
'savePointStrategy'
tooltip=
{
l
(
'pages.datastudio.label.jobConfig.savePointStrategy.tip'
)
}
tooltip=
{
l
(
'pages.datastudio.label.jobConfig.savePointStrategy.tip'
)
}
options=
{
SAVE_POINT_TYPE
}
options=
{
SAVE_POINT_TYPE
}
initialValue=
{
0
}
/>
/>
{
current
?.
savePointStrategy
===
3
&&
(
{
current
?.
savePointStrategy
===
3
&&
(
...
...
dinky-web/src/pages/DataStudio/model.ts
View file @
055bd177
...
@@ -368,14 +368,14 @@ const Model: ModelType = {
...
@@ -368,14 +368,14 @@ const Model: ModelType = {
*
queryProject
({
payload
},
{
call
,
put
})
{
*
queryProject
({
payload
},
{
call
,
put
})
{
const
response
:
[]
=
yield
call
(
getTaskData
,
payload
);
const
response
:
[]
=
yield
call
(
getTaskData
,
payload
);
yield
put
({
yield
put
({
type
:
STUDIO_MODEL
.
saveProject
,
type
:
'saveProject'
,
payload
:
response
payload
:
response
});
});
},
},
*
queryFlinkConfigOptions
({
payload
},
{
call
,
put
})
{
*
queryFlinkConfigOptions
({
payload
},
{
call
,
put
})
{
const
response
:
[]
=
yield
call
(
getFlinkConfigs
,
payload
);
const
response
:
[]
=
yield
call
(
getFlinkConfigs
,
payload
);
yield
put
({
yield
put
({
type
:
STUDIO_MODEL
.
saveFlinkConfigOptions
,
type
:
'saveFlinkConfigOptions'
,
payload
:
response
payload
:
response
});
});
}
}
...
...
dinky-web/src/pages/Other/Login/ChooseModal/index.tsx
View file @
055bd177
...
@@ -52,7 +52,6 @@ const ChooseModal: React.FC<ChooseModalProps> = (props) => {
...
@@ -52,7 +52,6 @@ const ChooseModal: React.FC<ChooseModalProps> = (props) => {
};
};
return
(
return
(
<>
<
Modal
<
Modal
title=
{
l
(
'login.chooseTenant'
)
}
title=
{
l
(
'login.chooseTenant'
)
}
open=
{
tenantVisible
}
open=
{
tenantVisible
}
...
@@ -67,7 +66,6 @@ const ChooseModal: React.FC<ChooseModalProps> = (props) => {
...
@@ -67,7 +66,6 @@ const ChooseModal: React.FC<ChooseModalProps> = (props) => {
>
>
<
TenantCard
tenant=
{
tenant
}
handleChangeTenant=
{
tenantChange
}
/>
<
TenantCard
tenant=
{
tenant
}
handleChangeTenant=
{
tenantChange
}
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
...
...
dinky-web/src/pages/Other/PersonCenter/OperationLogRecord/ResultShow/index.tsx
View file @
055bd177
...
@@ -38,7 +38,6 @@ const ResultShow: React.FC<ResultShowProps> = (props) => {
...
@@ -38,7 +38,6 @@ const ResultShow: React.FC<ResultShowProps> = (props) => {
}
=
props
;
}
=
props
;
return
(
return
(
<>
<
Modal
<
Modal
title=
{
l
(
'global.result'
)
}
title=
{
l
(
'global.result'
)
}
open=
{
open
}
open=
{
open
}
...
@@ -49,7 +48,6 @@ const ResultShow: React.FC<ResultShowProps> = (props) => {
...
@@ -49,7 +48,6 @@ const ResultShow: React.FC<ResultShowProps> = (props) => {
>
>
<
CodeShow
language=
{
'json'
}
height=
{
'60vh'
}
code=
{
data
}
/>
<
CodeShow
language=
{
'json'
}
height=
{
'60vh'
}
code=
{
data
}
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
...
...
dinky-web/src/pages/RegCenter/Document/components/DocumentModal/index.tsx
View file @
055bd177
...
@@ -68,7 +68,6 @@ const DocumentModalForm: React.FC<DocumentModalProps> = (props) => {
...
@@ -68,7 +68,6 @@ const DocumentModalForm: React.FC<DocumentModalProps> = (props) => {
};
};
return
(
return
(
<>
<
Modal
<
Modal
{
...
NORMAL_MODAL_OPTIONS
}
{
...
NORMAL_MODAL_OPTIONS
}
title=
{
values
.
id
?
l
(
'rc.doc.modify'
)
:
l
(
'rc.doc.create'
)
}
title=
{
values
.
id
?
l
(
'rc.doc.modify'
)
:
l
(
'rc.doc.create'
)
}
...
@@ -78,7 +77,6 @@ const DocumentModalForm: React.FC<DocumentModalProps> = (props) => {
...
@@ -78,7 +77,6 @@ const DocumentModalForm: React.FC<DocumentModalProps> = (props) => {
>
>
<
DocumentForm
values=
{
values
}
form=
{
form
}
/>
<
DocumentForm
values=
{
values
}
form=
{
form
}
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
...
...
dinky-web/src/pages/RegCenter/GitProject/components/BuildSteps/index.tsx
View file @
055bd177
...
@@ -175,7 +175,6 @@ export const BuildSteps: React.FC<BuildStepsProps> = (props) => {
...
@@ -175,7 +175,6 @@ export const BuildSteps: React.FC<BuildStepsProps> = (props) => {
* render
* render
*/
*/
return
(
return
(
<>
<
Modal
<
Modal
title=
{
title
}
title=
{
title
}
width=
{
'85%'
}
width=
{
'85%'
}
...
@@ -193,6 +192,5 @@ export const BuildSteps: React.FC<BuildStepsProps> = (props) => {
...
@@ -193,6 +192,5 @@ export const BuildSteps: React.FC<BuildStepsProps> = (props) => {
showList=
{
showList
}
showList=
{
showList
}
/>
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
dinky-web/src/pages/RegCenter/GitProject/components/CodeTree/index.tsx
View file @
055bd177
...
@@ -32,7 +32,6 @@ export const CodeTree: React.FC<CodeTreeProps> = (props) => {
...
@@ -32,7 +32,6 @@ export const CodeTree: React.FC<CodeTreeProps> = (props) => {
const
{
values
,
modalVisible
,
onCancel
}
=
props
;
const
{
values
,
modalVisible
,
onCancel
}
=
props
;
return
(
return
(
<>
<
Modal
<
Modal
title=
{
l
(
'rc.gp.codeTree'
)
}
title=
{
l
(
'rc.gp.codeTree'
)
}
width=
{
'95%'
}
width=
{
'95%'
}
...
@@ -44,6 +43,5 @@ export const CodeTree: React.FC<CodeTreeProps> = (props) => {
...
@@ -44,6 +43,5 @@ export const CodeTree: React.FC<CodeTreeProps> = (props) => {
>
>
<
CodeTreeShow
values=
{
values
}
/>
<
CodeTreeShow
values=
{
values
}
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
dinky-web/src/pages/RegCenter/GlobalVar/components/GlobalVarModal/index.tsx
View file @
055bd177
...
@@ -75,7 +75,6 @@ const GlobalVarModal: React.FC<GlobalVarModalProps> = (props) => {
...
@@ -75,7 +75,6 @@ const GlobalVarModal: React.FC<GlobalVarModalProps> = (props) => {
};
};
return
(
return
(
<>
<
Modal
<
Modal
{
...
NORMAL_MODAL_OPTIONS
}
{
...
NORMAL_MODAL_OPTIONS
}
title=
{
values
.
id
?
l
(
'rc.gv.modify'
)
:
l
(
'rc.gv.create'
)
}
title=
{
values
.
id
?
l
(
'rc.gv.modify'
)
:
l
(
'rc.gv.create'
)
}
...
@@ -85,7 +84,6 @@ const GlobalVarModal: React.FC<GlobalVarModalProps> = (props) => {
...
@@ -85,7 +84,6 @@ const GlobalVarModal: React.FC<GlobalVarModalProps> = (props) => {
>
>
<
GlobalVarForm
form=
{
form
}
values=
{
values
}
/>
<
GlobalVarForm
form=
{
form
}
values=
{
values
}
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
...
...
dinky-web/src/pages/SettingCenter/Process/components/ProcessList/SubStepsTable/ShowLog/index.tsx
View file @
055bd177
...
@@ -40,7 +40,6 @@ const ShowLog: React.FC<ShowLogProps> = (props) => {
...
@@ -40,7 +40,6 @@ const ShowLog: React.FC<ShowLogProps> = (props) => {
const
{
type
,
log
,
visibleViewLog
,
cancelViewLog
}
=
props
;
const
{
type
,
log
,
visibleViewLog
,
cancelViewLog
}
=
props
;
return
(
return
(
<>
<
Modal
<
Modal
{
...
NORMAL_MODAL_OPTIONS
}
{
...
NORMAL_MODAL_OPTIONS
}
title=
{
type
}
title=
{
type
}
...
@@ -50,7 +49,6 @@ const ShowLog: React.FC<ShowLogProps> = (props) => {
...
@@ -50,7 +49,6 @@ const ShowLog: React.FC<ShowLogProps> = (props) => {
>
>
<
CodeShow
{
...
CodeEditProps
}
code=
{
log
}
showFloatButton
/>
<
CodeShow
{
...
CodeEditProps
}
code=
{
log
}
showFloatButton
/>
</
Modal
>
</
Modal
>
</>
);
);
};
};
...
...
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