Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qahome-diamond
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qahome-diamond
Commits
bfc84217
Commit
bfc84217
authored
Apr 10, 2019
by
kewei.jia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改pipeline 新建时 数据无法联动的问题
parent
06d34b67
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
application.vue
src/views/pipeline/application.vue
+3
-2
No files found.
src/views/pipeline/application.vue
View file @
bfc84217
...
@@ -180,13 +180,14 @@ export default {
...
@@ -180,13 +180,14 @@ export default {
},
},
getRefs
(
repo
)
{
getRefs
(
repo
)
{
console
.
log
(
repo
)
getRefs
(
repo
.
id
).
then
(
res
=>
{
getRefs
(
repo
.
id
).
then
(
res
=>
{
this
.
refs
[
repo
.
id
]
=
res
.
data
.
data
.
map
(
item
=>
{
this
.
$set
(
this
.
refs
,
repo
.
id
,
res
.
data
.
data
.
map
(
item
=>
{
return
{
return
{
id
:
item
.
id
,
id
:
item
.
id
,
name
:
item
.
ref
name
:
item
.
ref
}
}
})
})
)
this
.
refs
[
repo
.
id
].
push
({
id
:
'
0
'
,
name
:
'
请选择
'
})
this
.
refs
[
repo
.
id
].
push
({
id
:
'
0
'
,
name
:
'
请选择
'
})
this
.
refs
[
repo
.
id
].
reverse
()
this
.
refs
[
repo
.
id
].
reverse
()
})
})
...
...
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