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
cddbd350
Commit
cddbd350
authored
Apr 02, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redirect
parent
632adc4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
envDetail.vue
src/views/docker/envDetail.vue
+1
-1
index.vue
src/views/redirect/index.vue
+12
-0
No files found.
src/views/docker/envDetail.vue
View file @
cddbd350
...
...
@@ -327,7 +327,7 @@ export default {
this
.
tagName
=
''
this
.
options
=
[]
this
.
tagOptions
=
[]
fetchUserrepository
({
'
namespace
'
:
'
qa-
'
+
type
}).
then
(
res
=>
{
fetchUserrepository
({
'
namespace
'
:
'
qa-
'
+
label
}).
then
(
res
=>
{
this
.
options
=
res
.
data
.
repoInfo
this
.
server
=
res
.
data
.
server
})
...
...
src/views/redirect/index.vue
0 → 100644
View file @
cddbd350
<
script
>
export
default
{
beforeCreate
()
{
const
{
params
,
query
}
=
this
.
$route
const
{
path
}
=
params
this
.
$router
.
replace
({
path
:
'
/
'
+
path
,
query
})
},
render
:
function
(
h
)
{
return
h
()
// avoid warning message
}
}
</
script
>
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