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
6ddbb1b4
Commit
6ddbb1b4
authored
Sep 04, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新订阅增加限制
parent
c2327b55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
prod.env.js
config/prod.env.js
+1
-1
envDetail.vue
src/views/docker/envDetail.vue
+3
-0
application.vue
src/views/pipeline/application.vue
+13
-0
No files found.
config/prod.env.js
View file @
6ddbb1b4
...
...
@@ -3,7 +3,7 @@ module.exports = {
ENV_CONFIG
:
'
"prod"
'
,
QA_API
:
'
"//qaapi.liangkebang.com"
'
,
// QA_API: '"http://172.30.220.22:3003"',
TESTDATA_API
:
'
"//
172.30.220.22:3333
"
'
,
TESTDATA_API
:
'
"//
testdata.liangkebang.com
"
'
,
PIPELINE_API
:
'
"//pipes.liangkebang.com"
'
,
PIPELINE_API_JAVA
:
'
"//pipes.liangkebang.com"
'
,
}
src/views/docker/envDetail.vue
View file @
6ddbb1b4
...
...
@@ -552,6 +552,9 @@ export default {
this
.
is_show
=
realName
===
'
mysql
'
this
.
is_wechat
=
realName
===
'
h5-ui
'
this
.
is_mock
=
realName
===
'
gu-bei
'
||
realName
===
'
clotho
'
this
.
mock
=
{
key
:
'
"0"
'
,
display_name
:
'
否
'
}
this
.
wechat
=
{
key
:
'
"0"
'
,
display_name
:
'
否
'
}
getHostName
({
project_name
:
this
.
reponame
.
split
(
'
/
'
)[
1
]
}).
then
(
res
=>
{
if
(
res
.
data
)
{
this
.
domain
=
res
.
data
.
host_name
...
...
src/views/pipeline/application.vue
View file @
6ddbb1b4
...
...
@@ -317,6 +317,19 @@ export default {
})
}
else
{
this
.
temp
.
update_user
=
this
.
$store
.
getters
.
name
let
flag
=
true
this
.
temp
.
repos
.
forEach
((
item
)
=>
{
if
(
item
.
ref
.
name
==
null
||
item
.
ref
.
name
===
'
请选择
'
)
{
this
.
$notify
({
title
:
'
error
'
,
message
:
'
请仔细检查项目和分支名称是否填写正确
'
,
type
:
'
error
'
,
duration
:
2000
})
flag
=
false
}
})
if
(
!
flag
)
return
false
updateApplication
(
this
.
temp
).
then
(()
=>
{
this
.
dialogFormVisible
=
false
this
.
$notify
({
...
...
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