CustomDialogController置空

Signed-off-by: Ryan <fengxidadi@163.com>
This commit is contained in:
Ryan 2023-12-19 15:40:52 +08:00
parent 295ab0d95e
commit ff5792d69b
3 changed files with 9 additions and 0 deletions

View File

@ -81,6 +81,10 @@ export default struct IncomingCom {
this.getBtnList();
}
aboutToDisappear() {
this.msgDialogController = null;
}
/**
* send Message slotId : card slot, destinationHost : accountNumber ,content: content
*

View File

@ -175,6 +175,7 @@ struct Index {
this.mdListener?.off('change', this.isBreakpointMD);
this.lgListener?.off('change', this.isBreakpointLG);
removeAirPlaneModeListener();
this.airplaneModeDialogController = null;
}
onBackPress() {

View File

@ -69,6 +69,10 @@ export default struct listItem {
};
};
aboutToDisappear() {
this.recordTypeDialog = null;
}
build() {
Column() {
Row() {