mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4351 - For Dock
This commit is contained in:
parent
3e59aa18b9
commit
340e6a82e5
2 changed files with 24 additions and 1 deletions
|
@ -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')];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue