!371 clear CustomDialogController

Merge pull request !371 from zhangpan/fix-clear-custom-dialog-controller
This commit is contained in:
openharmony_ci 2023-07-17 13:47:35 +00:00 committed by Gitee
commit dd91232e21
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -86,6 +86,10 @@ export default struct SimpleToggleLayoutEditComponent {
aboutToDisappear() {
delete this.backDialogController
this.backDialogController = undefined
delete this.resetDialogController
this.resetDialogController = undefined
Log.showInfo(TAG, 'aboutToDisappear ');
}