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
eb153f50
Commit
eb153f50
authored
Oct 23, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改环境配置方法
parent
a644f533
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
index.html
dist/index.html
+2
-2
app.2e7b7fb34e318a7b8326a469150ec2d3.css
dist/static/css/app.2e7b7fb34e318a7b8326a469150ec2d3.css
+0
-0
18.70d66dd99ff7bee4eff7.js
dist/static/js/18.70d66dd99ff7bee4eff7.js
+0
-0
app.2e3bcfa4f44cb87ef0c2.js
dist/static/js/app.2e3bcfa4f44cb87ef0c2.js
+0
-0
manifest.469f6f341315d7fd7867.js
dist/static/js/manifest.469f6f341315d7fd7867.js
+0
-2
manifest.559810ae0a87126ee953.js
dist/static/js/manifest.559810ae0a87126ee953.js
+2
-0
createEnvSet.vue
src/views/index/createEnvSet.vue
+3
-3
No files found.
dist/index.html
View file @
eb153f50
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.ac30273c97224ee2d5175af3ffbb096f.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
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.15.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.01.js
></script><script
type=
text/javascript
src=
./static/js/manifest.469f6f341315d7fd7867.js
></script><script
type=
text/javascript
src=
./static/js/vendor.71dc162eb690bf6a36a0.js
></script><script
type=
text/javascript
src=
./static/js/app.154c36bdc57283833b6b.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.2e7b7fb34e318a7b8326a469150ec2d3.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
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.15.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.01.js
></script><script
type=
text/javascript
src=
./static/js/manifest.559810ae0a87126ee953.js
></script><script
type=
text/javascript
src=
./static/js/vendor.71dc162eb690bf6a36a0.js
></script><script
type=
text/javascript
src=
./static/js/app.2e3bcfa4f44cb87ef0c2.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
ac30273c97224ee2d5175af3ffbb096f
.css
→
dist/static/css/app.
2e7b7fb34e318a7b8326a469150ec2d3
.css
View file @
eb153f50
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/18.
1bdfcff9439ca81fcf5a
.js
→
dist/static/js/18.
70d66dd99ff7bee4eff7
.js
View file @
eb153f50
This diff is collapsed.
Click to expand it.
dist/static/js/app.
154c36bdc57283833b6b
.js
→
dist/static/js/app.
2e3bcfa4f44cb87ef0c2
.js
View file @
eb153f50
File moved
dist/static/js/manifest.469f6f341315d7fd7867.js
deleted
100644 → 0
View file @
a644f533
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
c
,
o
){
for
(
var
f
,
d
,
i
,
u
=
0
,
b
=
[];
u
<
r
.
length
;
u
++
)
d
=
r
[
u
],
t
[
d
]
&&
b
.
push
(
t
[
d
][
0
]),
t
[
d
]
=
0
;
for
(
f
in
c
)
Object
.
prototype
.
hasOwnProperty
.
call
(
c
,
f
)
&&
(
e
[
f
]
=
c
[
f
]);
for
(
n
&&
n
(
r
,
c
,
o
);
b
.
length
;)
b
.
shift
()();
if
(
o
)
for
(
u
=
0
;
u
<
o
.
length
;
u
++
)
i
=
a
(
a
.
s
=
o
[
u
]);
return
i
};
var
r
=
{},
t
=
{
24
:
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
c
=
document
.
getElementsByTagName
(
"head"
)[
0
],
o
=
document
.
createElement
(
"script"
);
o
.
type
=
"text/javascript"
,
o
.
charset
=
"utf-8"
,
o
.
async
=!
0
,
o
.
timeout
=
12
e4
,
a
.
nc
&&
o
.
setAttribute
(
"nonce"
,
a
.
nc
),
o
.
src
=
a
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"52863aa1d72d31066413"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"e15d500cb69741920d46"
,
3
:
"67ea89e5dfb21df3acd0"
,
4
:
"dc37e918bcb2ad0360d1"
,
5
:
"842d518baa251c8fedc4"
,
6
:
"52e14b1f79af7d86f42f"
,
7
:
"b2a85a42ddd430235a63"
,
8
:
"81460c8c66d06cfea732"
,
9
:
"c98145195e68a6e13faf"
,
10
:
"638039a7b39908980436"
,
11
:
"f27d1de28264fbbe30ff"
,
12
:
"ccbc18453e41490e2dba"
,
13
:
"b109164d2be44afb7733"
,
14
:
"9825bb69e60b8030c230"
,
15
:
"6700988b665e14f99d41"
,
16
:
"915ed31249867849353a"
,
17
:
"f25417e1883c9c1447d8"
,
18
:
"1bdfcff9439ca81fcf5a"
,
19
:
"40fd9824f7542ed7f56d"
,
20
:
"c163ea91d150e0ca1cb1"
,
21
:
"55879284ad4d1f03fbe0"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
d
,
12
e4
);
function
d
(){
o
.
onerror
=
o
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
o
.
onerror
=
o
.
onload
=
d
,
c
.
appendChild
(
o
),
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
dist/static/js/manifest.559810ae0a87126ee953.js
0 → 100644
View file @
eb153f50
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
a
,
c
){
for
(
var
f
,
d
,
i
,
u
=
0
,
b
=
[];
u
<
r
.
length
;
u
++
)
d
=
r
[
u
],
t
[
d
]
&&
b
.
push
(
t
[
d
][
0
]),
t
[
d
]
=
0
;
for
(
f
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
f
)
&&
(
e
[
f
]
=
a
[
f
]);
for
(
n
&&
n
(
r
,
a
,
c
);
b
.
length
;)
b
.
shift
()();
if
(
c
)
for
(
u
=
0
;
u
<
c
.
length
;
u
++
)
i
=
o
(
o
.
s
=
c
[
u
]);
return
i
};
var
r
=
{},
t
=
{
24
:
0
};
function
o
(
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
,
o
),
t
.
l
=!
0
,
t
.
exports
}
o
.
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
,
o
){
n
=
t
[
e
]
=
[
r
,
o
]});
n
[
2
]
=
r
;
var
a
=
document
.
getElementsByTagName
(
"head"
)[
0
],
c
=
document
.
createElement
(
"script"
);
c
.
type
=
"text/javascript"
,
c
.
charset
=
"utf-8"
,
c
.
async
=!
0
,
c
.
timeout
=
12
e4
,
o
.
nc
&&
c
.
setAttribute
(
"nonce"
,
o
.
nc
),
c
.
src
=
o
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"52863aa1d72d31066413"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"e15d500cb69741920d46"
,
3
:
"67ea89e5dfb21df3acd0"
,
4
:
"dc37e918bcb2ad0360d1"
,
5
:
"842d518baa251c8fedc4"
,
6
:
"52e14b1f79af7d86f42f"
,
7
:
"b2a85a42ddd430235a63"
,
8
:
"81460c8c66d06cfea732"
,
9
:
"c98145195e68a6e13faf"
,
10
:
"638039a7b39908980436"
,
11
:
"f27d1de28264fbbe30ff"
,
12
:
"ccbc18453e41490e2dba"
,
13
:
"b109164d2be44afb7733"
,
14
:
"9825bb69e60b8030c230"
,
15
:
"6700988b665e14f99d41"
,
16
:
"915ed31249867849353a"
,
17
:
"f25417e1883c9c1447d8"
,
18
:
"70d66dd99ff7bee4eff7"
,
19
:
"40fd9824f7542ed7f56d"
,
20
:
"c163ea91d150e0ca1cb1"
,
21
:
"55879284ad4d1f03fbe0"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
d
,
12
e4
);
function
d
(){
c
.
onerror
=
c
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
t
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
t
[
e
]
=
void
0
)}
return
c
.
onerror
=
c
.
onload
=
d
,
a
.
appendChild
(
c
),
r
},
o
.
m
=
e
,
o
.
c
=
r
,
o
.
d
=
function
(
e
,
n
,
r
){
o
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
o
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
o
.
d
(
n
,
"a"
,
n
),
n
},
o
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
o
.
p
=
"./"
,
o
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/index/createEnvSet.vue
View file @
eb153f50
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2019-07-30 15:17:39
* @Date: 2019-07-30 15:17:39
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2019-10-2
1 15:34:11
* @LastEditTime: 2019-10-2
3 15:22:07
-->
-->
<
template
>
<
template
>
<div
class=
"api-body-content border-box"
>
<div
class=
"api-body-content border-box"
>
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
import
navBread
from
'@/components/nav/nav-bread.vue'
;
import
navBread
from
'@/components/nav/nav-bread.vue'
;
import
limitInput
from
'@/components/limit-input.vue'
;
import
limitInput
from
'@/components/limit-input.vue'
;
import
limitTextarea
from
'@/components/limit-textarea.vue'
;
import
limitTextarea
from
'@/components/limit-textarea.vue'
;
import
{
getRequest
}
from
'@/api/api'
;
import
{
getRequest
,
postRequest
}
from
'@/api/api'
;
import
showMsg
from
'@/assets/js/showmsg'
;
import
showMsg
from
'@/assets/js/showmsg'
;
import
errMsg
from
'@/assets/js/error'
;
import
errMsg
from
'@/assets/js/error'
;
export
default
{
export
default
{
...
@@ -256,7 +256,7 @@ export default {
...
@@ -256,7 +256,7 @@ export default {
description
:
that
.
formData
.
description
,
description
:
that
.
formData
.
description
,
envParams
:
that
.
shoEnvFlag
?
JSON
.
stringify
(
that
.
tableData
)
:
''
envParams
:
that
.
shoEnvFlag
?
JSON
.
stringify
(
that
.
tableData
)
:
''
};
};
ge
tRequest
(
that
.
$route
.
query
.
backendProxyId
?
'/gateway-manage/update-proxy'
:
'/gateway-manage/create-proxy'
,
para
)
pos
tRequest
(
that
.
$route
.
query
.
backendProxyId
?
'/gateway-manage/update-proxy'
:
'/gateway-manage/create-proxy'
,
para
)
.
then
(
res
=>
{
.
then
(
res
=>
{
let
resData
=
res
.
data
;
let
resData
=
res
.
data
;
if
(
resData
.
code
==
'0000'
)
{
if
(
resData
.
code
==
'0000'
)
{
...
...
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