modify callTimeList

Signed-off-by: w00636648 <wangziming14@huawei.com>
This commit is contained in:
w00636648 2022-11-02 18:04:15 +08:00
parent 7b57806eef
commit 09ecd902b7
3 changed files with 1 additions and 4 deletions

View File

@ -41,7 +41,6 @@ export default struct ContactCard {
public aboutToAppear(): void {
LogUtils.i(TAG, "aboutToAppear");
this.mUtils = Utils.getInstance();
this.callTimeList = [];
this.timer = setInterval(() => {
if (this.dialing === '...') {
this.dialing = '';
@ -184,7 +183,7 @@ export default struct ContactCard {
if (this.isShowTime()) {
Column() {
Text(this.callTimeList[0].callTime)
Text(this.callTimeList[0]?.callTime)
.fontSize(14)
.height(19)
.lineHeight(19)

View File

@ -31,7 +31,6 @@ export default struct DtmfBtn {
public aboutToAppear(): void {
this.textInput = "";
LogUtils.i(TAG, "aboutToAppear");
this.mCallServiceProxy = new CallServiceProxy();
}

View File

@ -78,7 +78,6 @@ export default struct FuncBtnGroup {
this.btnList = this.btnListCall
}
this.onCallStateChange(this.callData.callState)
LogUtils.i(TAG, "upData BtnList");
}
/**