Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcxy-manage-shell
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
姜雷
dcxy-manage-shell
Commits
06784f75
Commit
06784f75
authored
Apr 29, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'test'
修改用户菜单出现后点击其他区域也会消失 See merge request
!45
parents
37d348e8
92db5481
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
UserBox.vue
src/containers/layout/components/UserBox.vue
+8
-1
develop.js
src/dev-local/develop.js
+0
-1
No files found.
src/containers/layout/components/UserBox.vue
View file @
06784f75
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<span>
欢迎您,
{{
userInfo
.
name
}}
</span>
<span>
欢迎您,
{{
userInfo
.
name
}}
</span>
<span
<span
class=
"avatar-name-icon"
class=
"avatar-name-icon"
@
click=
"toggleUserMenus"
@
click
.
stop
=
"toggleUserMenus"
>
>
<img
src=
"@/assets/images/layout/icon_xiala@2x.png"
/>
<img
src=
"@/assets/images/layout/icon_xiala@2x.png"
/>
<div
<div
...
@@ -359,6 +359,13 @@ export default {
...
@@ -359,6 +359,13 @@ export default {
...
mapActions
([
'updatePassword'
,
'updateUserinfo'
,
'updateUserCellphone'
]),
...
mapActions
([
'updatePassword'
,
'updateUserinfo'
,
'updateUserCellphone'
]),
toggleUserMenus
()
{
toggleUserMenus
()
{
this
.
userMenusVisble
=
!
this
.
userMenusVisble
;
this
.
userMenusVisble
=
!
this
.
userMenusVisble
;
setTimeout
(()
=>
{
if
(
this
.
userMenusVisble
)
{
document
.
addEventListener
(
'click'
,
this
.
toggleUserMenus
);
}
else
{
document
.
removeEventListener
(
'click'
,
this
.
toggleUserMenus
);
}
},
400
);
},
},
cancelPwdUpdate
(
done
)
{
cancelPwdUpdate
(
done
)
{
this
.
resetPwdForm
();
this
.
resetPwdForm
();
...
...
src/dev-local/develop.js
View file @
06784f75
import
System
from
'../lib/main'
;
import
System
from
'../lib/main'
;
window
.
manageShell
=
{
default
:
System
};
window
.
manageShell
=
{
default
:
System
};
console
.
log
(
'manageShell'
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
let
allAasyncRouterMap
=
[
let
allAasyncRouterMap
=
[
...
...
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