Refactor #4351 - For Dock

This commit is contained in:
Tuğçe Küçükoğlu 2023-08-30 09:40:37 +03:00
parent 3e59aa18b9
commit 340e6a82e5
2 changed files with 24 additions and 1 deletions

View file

@ -23,6 +23,11 @@ import DockSub from './DockSub.vue';
export default {
name: 'Dock',
extends: BaseDock,
beforeMount() {
if (!this.$slots.item) {
console.warn('In future versions, vue-router support will be removed. Item templating should be used.');
}
},
computed: {
containerClass() {
return [this.class, this.cx('root')];