Refactor #3965 - Update CascadeSelect and Breadcrumb

This commit is contained in:
mertsincan 2023-05-30 10:59:17 +01:00
parent 698431db44
commit a556b46e48
8 changed files with 65 additions and 74 deletions

View file

@ -40,7 +40,7 @@ const classes = {
footer: 'p-panel-footer'
};
const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { id: 'primevue_panel_style', manual: true });
const { load: loadStyle } = useStyle(styles, { id: 'primevue_panel_style', manual: true });
export default {
name: 'BasePanel',
@ -55,15 +55,13 @@ export default {
}
},
css: {
classes
classes,
loadStyle
},
watch: {
isUnstyled: {
immediate: true,
handler(newValue) {
!newValue && loadStyle();
}
}
provide() {
return {
$parentInstance: this
};
}
};
</script>