!41923 修复分段按钮jscrash问题

Merge pull request !41923 from zhaoyong/segmentbutton
This commit is contained in:
openharmony_ci 2024-09-03 15:37:44 +00:00 committed by Gitee
commit 6854588d6b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1821,7 +1821,7 @@ export class SegmentButton extends ViewPU {
this.__pressArray.aboutToBeDeleted();
this.__hoverArray.aboutToBeDeleted();
this.__hoverColorArray.aboutToBeDeleted();
this.__shouldMirror.aboutToBeDeleted();
this.__shouldMirror?.aboutToBeDeleted();
SubscriberManager.Get().delete(this.id__());
this.aboutToBeDeletedInternal();
}