File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change 6
6
v-for =" (entry, entryIndex) in section"
7
7
:key =" entryIndex"
8
8
class =" row"
9
- :class =" { open: isMenuEntryOpen(entry), active: entry === currentEntry }"
9
+ :class =" { open: isMenuEntryOpen(entry), active: entry === activeEntry }"
10
10
@click =" handleEntryClick(entry)"
11
11
@mouseenter =" handleEntryMouseEnter(entry)"
12
12
@mouseleave =" handleEntryMouseLeave(entry)"
23
23
v-if =" entry.children"
24
24
:direction =" MenuDirection.TopRight"
25
25
:menuEntries =" entry.children"
26
- v-model:active-entry =" currentEntry"
27
- :minWidth =" minWidth"
28
- :drawIcon =" drawIcon"
29
- :scrollable =" scrollable"
26
+ v-bind =" { defaultAction, minWidth, drawIcon, scrollable }"
30
27
:ref =" (ref) => setEntryRefs(entry, ref)"
31
28
/>
32
29
</div >
@@ -248,7 +245,6 @@ const MenuList = defineComponent({
248
245
},
249
246
data() {
250
247
return {
251
- currentEntry: this .activeEntry ,
252
248
keyboardLockInfoMessage: keyboardLockApiSupported () ? KEYBOARD_LOCK_USE_FULLSCREEN : KEYBOARD_LOCK_SWITCH_BROWSER ,
253
249
SeparatorDirection ,
254
250
SeparatorType ,
You can’t perform that action at this time.
0 commit comments