Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
94833532
Commit
94833532
authored
Nov 20, 2018
by
hetech
Committed by
GitHub
Nov 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Menu: revert #13296 (#13478)
parent
93790b65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
packages/menu/src/submenu.vue
packages/menu/src/submenu.vue
+0
-9
No files found.
packages/menu/src/submenu.vue
View file @
94833532
...
...
@@ -3,7 +3,6 @@
import
menuMixin
from
'
./menu-mixin
'
;
import
Emitter
from
'
element-ui/src/mixins/emitter
'
;
import
Popper
from
'
element-ui/src/utils/vue-popper
'
;
import
Clickoutside
from
'
element-ui/src/utils/clickoutside
'
;
const
poperMixins
=
{
props
:
{
...
...
@@ -30,8 +29,6 @@
components
:
{
ElCollapseTransition
},
directives
:
{
Clickoutside
},
props
:
{
index
:
{
type
:
String
,
...
...
@@ -229,11 +226,6 @@
this
.
referenceElm
=
this
.
$el
;
this
.
popperElm
=
this
.
$refs
.
menu
;
this
.
updatePlacement
();
},
close
()
{
this
.
$nextTick
(()
=>
{
if
(
this
.
opened
)
this
.
rootMenu
.
closeMenu
(
this
.
index
);
});
}
},
created
()
{
...
...
@@ -323,7 +315,6 @@
on
-
mouseenter
=
{
this
.
handleMouseenter
}
on
-
mouseleave
=
{
this
.
handleMouseleave
}
on
-
focus
=
{
this
.
handleMouseenter
}
v
-
clickoutside
=
{
this
.
close
}
>
<
div
class
=
"
el-submenu__title
"
...
...
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