mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Dock prop class fix
This commit is contained in:
parent
431d904e0b
commit
c023a2cc6e
2 changed files with 7 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div :class="cx('root')" :style="style" v-bind="ptm('root')" data-pc-name="dock">
|
||||
<div :class="containerClass" :style="style" v-bind="ptm('root')" data-pc-name="dock">
|
||||
<DockSub
|
||||
:model="model"
|
||||
:templates="$slots"
|
||||
|
@ -23,6 +23,11 @@ import DockSub from './DockSub.vue';
|
|||
export default {
|
||||
name: 'Dock',
|
||||
extends: BaseDock,
|
||||
computed: {
|
||||
containerClass() {
|
||||
return [this.class, cx('root')];
|
||||
}
|
||||
},
|
||||
components: {
|
||||
DockSub
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue