diff --git a/entry/src/main/ets/view/DialogComponent.ets b/entry/src/main/ets/view/DialogComponent.ets index 953911a46674efac9db67ef8b09d6cff1931972e..5df37d498b9f01a7cc796e19367a9ea6f90ffc33 100644 --- a/entry/src/main/ets/view/DialogComponent.ets +++ b/entry/src/main/ets/view/DialogComponent.ets @@ -113,7 +113,7 @@ export struct DialogComponent { .width($r('app.float.image_size')) .aspectRatio(CommonConstants.FULL_SIZE) - Text(item.typeText) + Text(item.typeText === 'income' ? $r('app.string.income') : $r('app.string.invest')) .fontSize($r('app.float.font_size_S')) .fontColor(this.curType === item.typeText ? Color.White : $r('app.color.main_color')) .margin({ top: $r('app.float.edge_size_S') })