|
@@ -950,9 +950,6 @@ function Detail(props) {
|
|
|
callback,
|
|
|
});
|
|
|
};
|
|
|
- dispatch({
|
|
|
- type: 'user/getRoleList',
|
|
|
- });
|
|
|
useEffect(() => {
|
|
|
dispatch({
|
|
|
type: 'detail/queryProjectRecord',
|
|
@@ -966,6 +963,9 @@ function Detail(props) {
|
|
|
id: templateId,
|
|
|
},
|
|
|
});
|
|
|
+ dispatch({
|
|
|
+ type: 'user/getRoleList',
|
|
|
+ });
|
|
|
dispatch({
|
|
|
type: 'user/fetch',
|
|
|
});
|