fix warning
This commit is contained in:
@@ -8,7 +8,6 @@ function textInputStyle() {
|
||||
.padding(5)
|
||||
}
|
||||
|
||||
@Preview
|
||||
@Component
|
||||
export struct PhoneInput {
|
||||
@Prop countryCode: string = "+86"
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user