mirror of
https://gitee.com/openharmony/applications_systemui
synced 2025-01-01 05:18:31 +00:00
!371 clear CustomDialogController
Merge pull request !371 from zhangpan/fix-clear-custom-dialog-controller
This commit is contained in:
commit
dd91232e21
@ -86,6 +86,10 @@ export default struct SimpleToggleLayoutEditComponent {
|
|||||||
aboutToDisappear() {
|
aboutToDisappear() {
|
||||||
delete this.backDialogController
|
delete this.backDialogController
|
||||||
this.backDialogController = undefined
|
this.backDialogController = undefined
|
||||||
|
|
||||||
|
delete this.resetDialogController
|
||||||
|
this.resetDialogController = undefined
|
||||||
|
|
||||||
Log.showInfo(TAG, 'aboutToDisappear ');
|
Log.showInfo(TAG, 'aboutToDisappear ');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user