Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gateway-ui
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
ui
gateway-ui
Commits
58fb478a
Commit
58fb478a
authored
Dec 23, 2019
by
derong.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理切换服务时有未发布内容问题
parent
75958a61
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
265 additions
and
41 deletions
+265
-41
index.js
config/index.js
+1
-1
home.vue
src/components/home.vue
+23
-23
mainconfiguration.vue
src/pages/mainconfiguration/mainconfiguration.vue
+241
-17
No files found.
config/index.js
View file @
58fb478a
...
...
@@ -19,7 +19,7 @@ module.exports = {
},
// Various Dev Server settings
host
:
'
localhost
'
,
// can be overwritten by process.env.HOST
host
:
'
0.0.0.0
'
,
// can be overwritten by process.env.HOST
port
:
8080
,
// can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser
:
true
,
errorOverlay
:
true
,
...
...
src/components/home.vue
View file @
58fb478a
...
...
@@ -34,31 +34,31 @@
</
template
>
<
script
>
import
{
logout
}
from
'
../api/user.api
'
export
default
{
data
()
{
return
{
isCollapsed
:
false
}
},
computed
:
{
menuitemClasses
:
function
()
{
return
[
'
menu-item
'
,
this
.
isCollapsed
?
'
collapsed-menu
'
:
''
]
}
export
default
{
data
()
{
return
{
isCollapsed
:
false
}
},
computed
:
{
menuitemClasses
:
function
()
{
return
[
'
menu-item
'
,
this
.
isCollapsed
?
'
collapsed-menu
'
:
''
]
}
},
methods
:
{
go
()
{
this
.
$router
.
push
(
'
/mainconfiguration
'
)
},
methods
:
{
go
()
{
this
.
$router
.
push
(
'
/mainconfiguration
'
)
},
logOut
()
{
logout
().
then
((
data
)
=>
{
this
.
$router
.
push
(
'
/
'
)
})
}
logOut
()
{
logout
().
then
((
data
)
=>
{
this
.
$router
.
push
(
'
/
'
)
})
}
}
}
</
script
>
<
style
scoped
>
.layout
{
...
...
@@ -116,4 +116,4 @@ import {logout} from '../api/user.api'
font-size
:
20px
;
font-weight
:
900
;
}
</
style
>
\ No newline at end of file
</
style
>
src/pages/mainconfiguration/mainconfiguration.vue
View file @
58fb478a
This diff is collapsed.
Click to expand it.
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