Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
robot-monitor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
汪晓凯
robot-monitor
Commits
f5877023
Commit
f5877023
authored
Aug 02, 2018
by
wxk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix-点击机器人监控数据不刷新的问题
parent
d9bd911f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
navLeft.vue
src/components/navLeft.vue
+5
-0
preHeader.vue
src/components/preHeader.vue
+8
-3
overview.vue
src/views/overview.vue
+1
-1
No files found.
src/components/navLeft.vue
View file @
f5877023
...
...
@@ -47,6 +47,11 @@
}
}
},
watch
:
{
$route
()
{
this
.
active
=
this
.
$route
.
params
.
name
||
'account'
;
},
},
}
</
script
>
...
...
src/components/preHeader.vue
View file @
f5877023
<
template
>
<div
class=
"header"
>
<router-link
:to=
"
{path: '/monitor/home'}">
<span
class=
"title"
>
机器人监控
</span>
</router-link>
<span
class=
"title"
@
click=
"refresh"
>
机器人监控
</span>
<div
class=
"contain"
>
<span
class=
"username"
>
{{
username
}}
</span>
<span
class=
"loginout"
@
click=
"exitLogin"
>
退出
</span>
...
...
@@ -19,6 +17,12 @@
}
},
methods
:
{
refresh
()
{
this
.
$router
.
push
({
path
:
'/monitor/home'
});
Bus
.
$emit
(
'refresh'
);
},
//退出登录
exitLogin
(){
this
.
$router
.
push
({
...
...
@@ -49,6 +53,7 @@
box-shadow
:
0px
2px
10px
6px
rgba
(
237
,
237
,
237
,
0.5
);
color
:
rgba
(
255
,
255
,
255
,
1
);
.title{
cursor
:
pointer
;
color
:
#fff
;
font-size
:
24px
;
}
...
...
src/views/overview.vue
View file @
f5877023
...
...
@@ -735,7 +735,7 @@
}
.search-box
{
width
:
600px
;
margin
:
-
2
0px
0
20px
0
;
margin
:
-
1
0px
0
20px
0
;
}
</
style
>
<
style
>
...
...
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