Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dcxy-system
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-system
Commits
92db5481
Commit
92db5481
authored
Apr 29, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户菜单出现后点击其他区域也会消失
parent
3bced908
Show 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 @
92db5481
...
...
@@ -5,7 +5,7 @@
<span>
欢迎您,
{{
userInfo
.
name
}}
</span>
<span
class=
"avatar-name-icon"
@
click=
"toggleUserMenus"
@
click
.
stop
=
"toggleUserMenus"
>
<img
src=
"@/assets/images/layout/icon_xiala@2x.png"
/>
<div
...
...
@@ -359,6 +359,13 @@ export default {
...
mapActions
([
'updatePassword'
,
'updateUserinfo'
,
'updateUserCellphone'
]),
toggleUserMenus
()
{
this
.
userMenusVisble
=
!
this
.
userMenusVisble
;
setTimeout
(()
=>
{
if
(
this
.
userMenusVisble
)
{
document
.
addEventListener
(
'click'
,
this
.
toggleUserMenus
);
}
else
{
document
.
removeEventListener
(
'click'
,
this
.
toggleUserMenus
);
}
},
400
);
},
cancelPwdUpdate
(
done
)
{
this
.
resetPwdForm
();
...
...
src/dev-local/develop.js
View file @
92db5481
import
System
from
'../lib/main'
;
window
.
manageShell
=
{
default
:
System
};
console
.
log
(
'manageShell'
);
setTimeout
(()
=>
{
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