diff --git a/features/controlcentercomponent/src/main/ets/com/ohos/pages/SimpleToggleLayoutEditComponent.ets b/features/controlcentercomponent/src/main/ets/com/ohos/pages/SimpleToggleLayoutEditComponent.ets index bf348c88..3c2ad412 100644 --- a/features/controlcentercomponent/src/main/ets/com/ohos/pages/SimpleToggleLayoutEditComponent.ets +++ b/features/controlcentercomponent/src/main/ets/com/ohos/pages/SimpleToggleLayoutEditComponent.ets @@ -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 '); }