fix warning

This commit is contained in:
2024-09-06 15:36:19 +08:00
parent bdfab3ab29
commit 7f9c4bc663
17 changed files with 40 additions and 60 deletions

View File

@@ -8,7 +8,6 @@ function textInputStyle() {
.padding(5)
}
@Preview
@Component
export struct PhoneInput {
@Prop countryCode: string = "+86"

View File

@@ -15,11 +15,10 @@ export enum TitleBarMenuType{
Text = 2
}
@Preview
@Component
export struct TitleBar {
@Prop title: ResourceStr;
@Prop title: ResourceStr = '';
@Prop barHeight: number = 48;
@Prop menuPadding: number = 8;