Fixed #5622 - Deprecated: TabView
parent
149ea55bc7
commit
b41c4c5977
|
@ -46,6 +46,7 @@ export default {
|
|||
style: TabViewStyle,
|
||||
provide() {
|
||||
return {
|
||||
$pcTabs: undefined, // Backwards compatible to prevent <TabPanel> component from breaking
|
||||
$parentInstance: this
|
||||
};
|
||||
}
|
||||
|
|
|
@ -269,6 +269,8 @@ export interface TabViewEmits {
|
|||
}
|
||||
|
||||
/**
|
||||
* @deprecated Deprecated since v4. Use Tabs component instead.
|
||||
*
|
||||
* **PrimeVue - TabView**
|
||||
*
|
||||
* _TabView is a container component to group content with tabs._
|
||||
|
|
|
@ -123,6 +123,8 @@ export default {
|
|||
}
|
||||
},
|
||||
mounted() {
|
||||
console.warn('Deprecated since v4. Use Tabs component instead.');
|
||||
|
||||
this.id = this.id || UniqueComponentId();
|
||||
this.updateInkBar();
|
||||
this.scrollable && this.updateButtonState();
|
||||
|
|
Loading…
Reference in New Issue