Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
api-gateway
Overview
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
API
api-gateway
Commits
cb53bc37
Commit
cb53bc37
authored
Sep 03, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改版本列表默认环境
parent
46716204
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
8 deletions
+7
-8
index.html
dist/index.html
+2
-2
app.fe47899ca2219f6ff3cbe1c6a142d71f.css
dist/static/css/app.fe47899ca2219f6ff3cbe1c6a142d71f.css
+0
-0
4.d272a6762b746354996f.js
dist/static/js/4.d272a6762b746354996f.js
+0
-0
manifest.c4b22c233719b38fe7e8.js
dist/static/js/manifest.c4b22c233719b38fe7e8.js
+2
-2
version-list.vue
src/components/api/version-list.vue
+3
-4
No files found.
dist/index.html
View file @
cb53bc37
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.aff71585276c689f573a8997312ad3d4.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.59f552132666bbb1a5a1.js
></script><script
type=
text/javascript
src=
./static/js/vendor.bb8c036d7dd62f4cb37a.js
></script><script
type=
text/javascript
src=
./static/js/app.a05302b1289703418c5a.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.fe47899ca2219f6ff3cbe1c6a142d71f.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.c4b22c233719b38fe7e8.js
></script><script
type=
text/javascript
src=
./static/js/vendor.bb8c036d7dd62f4cb37a.js
></script><script
type=
text/javascript
src=
./static/js/app.a05302b1289703418c5a.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
aff71585276c689f573a8997312ad3d4
.css
→
dist/static/css/app.
fe47899ca2219f6ff3cbe1c6a142d71f
.css
View file @
cb53bc37
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/4.
35b03027aaa8760cc312
.js
→
dist/static/js/4.
d272a6762b746354996f
.js
View file @
cb53bc37
This diff is collapsed.
Click to expand it.
dist/static/js/manifest.
59f552132666bbb1a5a1
.js
→
dist/static/js/manifest.
c4b22c233719b38fe7e8
.js
View file @
cb53bc37
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
o
,
c
){
for
(
var
d
,
f
,
b
,
i
=
0
,
u
=
[];
i
<
r
.
length
;
i
++
)
f
=
r
[
i
],
t
[
f
]
&&
u
.
push
(
t
[
f
][
0
]),
t
[
f
]
=
0
;
for
(
d
in
o
)
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
d
)
&&
(
e
[
d
]
=
o
[
d
]);
for
(
n
&&
n
(
r
,
o
,
c
);
u
.
length
;)
u
.
shift
()();
if
(
c
)
for
(
i
=
0
;
i
<
c
.
length
;
i
++
)
b
=
a
(
a
.
s
=
c
[
i
]);
return
b
};
var
r
=
{},
t
=
{
21
:
0
};
function
a
(
n
){
if
(
r
[
n
])
return
r
[
n
].
exports
;
var
t
=
r
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
t
.
exports
,
t
,
t
.
exports
,
a
),
t
.
l
=!
0
,
t
.
exports
}
a
.
e
=
function
(
e
){
var
n
=
t
[
e
];
if
(
0
===
n
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
n
)
return
n
[
2
];
var
r
=
new
Promise
(
function
(
r
,
a
){
n
=
t
[
e
]
=
[
r
,
a
]});
n
[
2
]
=
r
;
var
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
c
=
document
.
createElement
(
"script"
);
c
.
type
=
"text/javascript"
,
c
.
charset
=
"utf-8"
,
c
.
async
=!
0
,
c
.
timeout
=
12
e4
,
a
.
nc
&&
c
.
setAttribute
(
"nonce"
,
a
.
nc
),
c
.
src
=
a
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"d2aeaa955782b02febee"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"f7b40d30dd54af098711"
,
3
:
"dbddad1d5a0a84036c3d"
,
4
:
"35b03027aaa8760cc312"
,
5
:
"8dade12caa32853912f4"
,
6
:
"7e47fc9750107d0d7600"
,
7
:
"6e98bf19e73d647ed2c5"
,
8
:
"6f4aba6d804414b554f1"
,
9
:
"1a44376fa612d3e18d19"
,
10
:
"638039a7b39908980436"
,
11
:
"65b3d46525bbb966f996"
,
12
:
"cb37adc4b9f63c81ace0"
,
13
:
"3f70345d9260ae04ca59"
,
14
:
"9825bb69e60b8030c230"
,
15
:
"cb7b875c24b40e9cb6e0"
,
16
:
"4da3a9b34b0474c33a18"
,
17
:
"3d53e5aa355f2b62e040"
,
18
:
"23893b252dcbd71cee7b"
}[
e
]
+
".js"
;
var
d
=
setTimeout
(
f
,
12
e4
);
function
f
(){
c
.
onerror
=
c
.
onload
=
null
,
clearTimeout
(
d
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
c
.
onerror
=
c
.
onload
=
f
,
o
.
appendChild
(
c
),
r
},
a
.
m
=
e
,
a
.
c
=
r
,
a
.
d
=
function
(
e
,
n
,
r
){
a
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
a
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
a
.
d
(
n
,
"a"
,
n
),
n
},
a
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
a
.
p
=
"./"
,
a
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
o
,
c
){
for
(
var
d
,
f
,
b
,
i
=
0
,
u
=
[];
i
<
r
.
length
;
i
++
)
f
=
r
[
i
],
t
[
f
]
&&
u
.
push
(
t
[
f
][
0
]),
t
[
f
]
=
0
;
for
(
d
in
o
)
Object
.
prototype
.
hasOwnProperty
.
call
(
o
,
d
)
&&
(
e
[
d
]
=
o
[
d
]);
for
(
n
&&
n
(
r
,
o
,
c
);
u
.
length
;)
u
.
shift
()();
if
(
c
)
for
(
i
=
0
;
i
<
c
.
length
;
i
++
)
b
=
a
(
a
.
s
=
c
[
i
]);
return
b
};
var
r
=
{},
t
=
{
21
:
0
};
function
a
(
n
){
if
(
r
[
n
])
return
r
[
n
].
exports
;
var
t
=
r
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
t
.
exports
,
t
,
t
.
exports
,
a
),
t
.
l
=!
0
,
t
.
exports
}
a
.
e
=
function
(
e
){
var
n
=
t
[
e
];
if
(
0
===
n
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
n
)
return
n
[
2
];
var
r
=
new
Promise
(
function
(
r
,
a
){
n
=
t
[
e
]
=
[
r
,
a
]});
n
[
2
]
=
r
;
var
o
=
document
.
getElementsByTagName
(
"head"
)[
0
],
c
=
document
.
createElement
(
"script"
);
c
.
type
=
"text/javascript"
,
c
.
charset
=
"utf-8"
,
c
.
async
=!
0
,
c
.
timeout
=
12
e4
,
a
.
nc
&&
c
.
setAttribute
(
"nonce"
,
a
.
nc
),
c
.
src
=
a
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"d2aeaa955782b02febee"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"f7b40d30dd54af098711"
,
3
:
"dbddad1d5a0a84036c3d"
,
4
:
"d272a6762b746354996f"
,
5
:
"8dade12caa32853912f4"
,
6
:
"7e47fc9750107d0d7600"
,
7
:
"6e98bf19e73d647ed2c5"
,
8
:
"6f4aba6d804414b554f1"
,
9
:
"1a44376fa612d3e18d19"
,
10
:
"638039a7b39908980436"
,
11
:
"65b3d46525bbb966f996"
,
12
:
"cb37adc4b9f63c81ace0"
,
13
:
"3f70345d9260ae04ca59"
,
14
:
"9825bb69e60b8030c230"
,
15
:
"cb7b875c24b40e9cb6e0"
,
16
:
"4da3a9b34b0474c33a18"
,
17
:
"3d53e5aa355f2b62e040"
,
18
:
"23893b252dcbd71cee7b"
}[
e
]
+
".js"
;
var
d
=
setTimeout
(
f
,
12
e4
);
function
f
(){
c
.
onerror
=
c
.
onload
=
null
,
clearTimeout
(
d
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
c
.
onerror
=
c
.
onload
=
f
,
o
.
appendChild
(
c
),
r
},
a
.
m
=
e
,
a
.
c
=
r
,
a
.
d
=
function
(
e
,
n
,
r
){
a
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
a
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
a
.
d
(
n
,
"a"
,
n
),
n
},
a
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
a
.
p
=
"./"
,
a
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/components/api/version-list.vue
View file @
cb53bc37
...
...
@@ -359,15 +359,14 @@ export default {
if
(
resData
.
code
==
'0000'
)
{
that
.
envOptions
=
resData
.
result
||
[];
if
(
resData
.
result
.
length
)
{
resData
.
result
.
forEach
(
ele
=>
{
resData
.
result
.
forEach
(
ele
=>
{
if
(
ele
.
defaultFlag
==
1
)
{
that
.
sceneCode
=
ele
.
sceneCode
;
}
})
})
;
that
.
$nextTick
(()
=>
{
that
.
getData
();
})
});
}
return
;
}
...
...
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