Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rainbond Ui
Commits
8c67d42e
Commit
8c67d42e
authored
5 years ago
by
zsl
Browse files
Options
Download
Email Patches
Plain Diff
[REV] Modify the Project creation component page creation application does not work
parent
decbf785
master
V5.1
V5.2
V5.3
dependabot/npm_and_yarn/axios-0.21.1
feature-helmapp
revert-299-Publishingmarket
revert-302-Publishingmarket
upgrade
v5.3.2-release
v5.3.1-release
v5.3.0-release
v5.2.2-release
v5.2.1-release
v5.2.0-release
v5.2.0-beta2
v5.2.0-beta1
v5.1.11-release
v5.1.10-release
v5.1.9-release
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/ThirdList/form.js
+28
-0
src/components/ThirdList/form.js
with
28 additions
and
0 deletions
+28
-0
src/components/ThirdList/form.js
+
28
-
0
View file @
8c67d42e
...
...
@@ -154,6 +154,34 @@ class Index extends React.Component {
this
.
handleCodeWarehouseType
(
this
.
props
);
});
};
handleAddGroup
=
vals
=>
{
const
{
setFieldsValue
}
=
this
.
props
.
form
;
this
.
props
.
dispatch
({
type
:
"
groupControl/addGroup
"
,
payload
:
{
team_name
:
globalUtil
.
getCurrTeamName
(),
...
vals
},
callback
:
group
=>
{
if
(
group
)
{
// 获取群组
this
.
props
.
dispatch
({
type
:
"
global/fetchGroups
"
,
payload
:
{
team_name
:
globalUtil
.
getCurrTeamName
(),
region_name
:
globalUtil
.
getCurrRegionName
()
},
callback
:
()
=>
{
setFieldsValue
({
group_id
:
group
.
ID
});
this
.
cancelAddGroup
();
}
});
}
}
});
};
render
()
{
const
{
tags
,
addGroup
,
tagsLoading
,
Loading
}
=
this
.
state
;
const
{
getFieldDecorator
,
getFieldValue
}
=
this
.
props
.
form
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help