Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
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
zhaochengxiang
szse
Commits
861b63a0
Commit
861b63a0
authored
Feb 26, 2022
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
已发布模型下的草稿选择送审状态没有实时改变
parent
91c96e87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
ModelTable.jsx
src/view/Manage/Model/Component/ModelTable.jsx
+15
-15
No files found.
src/view/Manage/Model/Component/ModelTable.jsx
View file @
861b63a0
...
...
@@ -299,7 +299,7 @@ const ModelTable = (props) => {
setPagination
({...
pagination
,
pageNum
:
1
});
}
}
else
{
getDataModel
();
get
Checkout
DataModel
();
}
//eslint-disable-next-line react-hooks/exhaustive-deps
},
[
catalogId
,
keyword
,
offset
,
modelState
]);
...
...
@@ -422,20 +422,20 @@ const ModelTable = (props) => {
})
}
const
getDataModel
=
()
=>
{
dispatch
({
type
:
'datamodel.getDataModel'
,
payload
:
{
id
:
modelId
},
callback
:
data
=>
{
setSubData
(
data
?[
data
]:[]);
},
error
:
()
=>
{
}
})
}
//
const getDataModel = () => {
//
dispatch({
//
type: 'datamodel.getDataModel',
//
payload: {
//
id: modelId
//
},
//
callback: data => {
//
setSubData(data?[data]:[]);
//
},
//
error: () => {
//
}
//
})
//
}
const
editItem
=
(
record
)
=>
{
onItemAction
&&
onItemAction
(
record
,
'edit'
);
...
...
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