Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
apollo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
openSource
apollo
Commits
d1ed046b
Commit
d1ed046b
authored
May 18, 2016
by
lepdou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
当环境缺失时,不显示此环境选项
parent
aeeceb66
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ConfigBaseInfoController.js
...static/scripts/controller/app/ConfigBaseInfoController.js
+4
-0
No files found.
apollo-portal/src/main/resources/static/scripts/controller/app/ConfigBaseInfoController.js
View file @
d1ed046b
...
...
@@ -19,10 +19,14 @@ application_module.controller("ConfigBaseInfoController",
var
nodes
=
AppUtil
.
collectData
(
result
);
nodes
.
forEach
(
function
(
item
)
{
if
(
!
item
.
clusters
||
item
.
clusters
.
length
==
0
){
return
;
}
var
node
=
{};
//first nav
node
.
text
=
item
.
env
;
var
clusterNodes
=
[];
//如果env下面只有一个default集群则不显示集群列表
if
(
item
.
clusters
&&
item
.
clusters
.
length
==
1
&&
item
.
clusters
[
0
].
name
==
'default'
){
node
.
selectable
=
true
;
...
...
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