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
43dc75a9
Commit
43dc75a9
authored
May 15, 2022
by
wenmo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Fix-494] [web] Fix the savepoint information does not change with the task information
parent
f7f7810f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
index.tsx
...mponents/Studio/StudioRightTool/StudioSavePoint/index.tsx
+5
-1
No files found.
dlink-web/src/components/Studio/StudioRightTool/StudioSavePoint/index.tsx
View file @
43dc75a9
...
@@ -11,11 +11,15 @@ import {connect} from "umi";
...
@@ -11,11 +11,15 @@ import {connect} from "umi";
import
{
Scrollbars
}
from
'react-custom-scrollbars'
;
import
{
Scrollbars
}
from
'react-custom-scrollbars'
;
const
url
=
'/api/savepoints'
;
const
url
=
'/api/savepoints'
;
const
StudioSavePoint
:
React
.
FC
<
{}
>
=
(
props
:
any
)
=>
{
const
StudioSavePoint
=
(
props
:
any
)
=>
{
const
{
current
,
toolHeight
,
dispatch
}
=
props
;
const
{
current
,
toolHeight
,
dispatch
}
=
props
;
const
[
row
,
setRow
]
=
useState
<
SavePointTableListItem
>
();
const
[
row
,
setRow
]
=
useState
<
SavePointTableListItem
>
();
const
actionRef
=
useRef
<
ActionType
>
();
const
actionRef
=
useRef
<
ActionType
>
();
if
(
current
.
key
){
actionRef
.
current
?.
reloadAndRest
?.();
}
const
columns
:
ProColumns
<
SavePointTableListItem
>
[]
=
[
const
columns
:
ProColumns
<
SavePointTableListItem
>
[]
=
[
{
{
title
:
'名称'
,
title
:
'名称'
,
...
...
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