fix: avoid `v-ripple` missing warn when `config.ripple` is disabled

pull/6058/head
Byron 2024-07-14 11:46:57 +08:00 committed by GitHub
parent a97eea6559
commit 24fc80e980
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,7 @@ import { getWidth, findSingle, getHeight, getOuterHeight, getOuterWidth, getOffs
import ChevronLeftIcon from '@primevue/icons/chevronleft';
import ChevronRightIcon from '@primevue/icons/chevronright';
import BaseTabList from './BaseTabList.vue';
import Ripple from 'primevue/ripple';
export default {
name: 'TabList',
@ -160,6 +161,9 @@ export default {
components: {
ChevronLeftIcon,
ChevronRightIcon
},
directives: {
ripple: Ripple
}
};
</script>