mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
fix(tab): prevent infinite loop
This commit is contained in:
@ -106,7 +106,14 @@ export class Tab {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUpdate() {
|
@Watch('label')
|
||||||
|
@Watch('href')
|
||||||
|
@Watch('show')
|
||||||
|
@Watch('disabled')
|
||||||
|
@Watch('badge')
|
||||||
|
@Watch('badgeColor')
|
||||||
|
@Watch('icon')
|
||||||
|
onPropChanged() {
|
||||||
this.ionTabMutated.emit();
|
this.ionTabMutated.emit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user