Refactor #4351 - For TieredMenu

This commit is contained in:
Tuğçe Küçükoğlu 2023-08-30 10:28:00 +03:00
parent d8b1f2c944
commit 45cbe1da55
2 changed files with 38 additions and 1 deletions

View file

@ -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();
},