mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Refactor #4351 - For TieredMenu
This commit is contained in:
parent
d8b1f2c944
commit
45cbe1da55
2 changed files with 38 additions and 1 deletions
|
@ -20,6 +20,7 @@
|
|||
:exact="exact"
|
||||
:level="0"
|
||||
:pt="pt"
|
||||
:unstyled="unstyled"
|
||||
@focus="onFocus"
|
||||
@blur="onBlur"
|
||||
@keydown="onKeyDown"
|
||||
|
@ -77,6 +78,11 @@ export default {
|
|||
}
|
||||
}
|
||||
},
|
||||
beforeMount() {
|
||||
if (!this.$slots.item) {
|
||||
console.warn('In future versions, vue-router support will be removed. Item templating should be used.');
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.id = this.id || UniqueComponentId();
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue