提交 d169e6a9 编写于 作者: Z zhangdawei40

fix apicovertest by setting size of formcomponent

Signed-off-by: Nzhangdawei40 <zhangdawei40@huawei.com>
Change-Id: I1a6a963af8aa5cd4ae9382a0faea36ceaa5b39fa
上级 4128befd
...@@ -51,6 +51,7 @@ struct Index { ...@@ -51,6 +51,7 @@ struct Index {
}) })
.allowUpdate(this.allowUpate ) .allowUpdate(this.allowUpate )
.visibility(this.isShowing ? Visibility.Visible : Visibility.Hidden) .visibility(this.isShowing ? Visibility.Visible : Visibility.Hidden)
.size({width:360,height:360})
.onAcquired((form) => { .onAcquired((form) => {
console.log("[FormComponent.host] get form, form id:" + form.id); console.log("[FormComponent.host] get form, form id:" + form.id);
}) })
......
...@@ -43,6 +43,7 @@ struct Index { ...@@ -43,6 +43,7 @@ struct Index {
}) })
.allowUpdate(this.allowUpate) .allowUpdate(this.allowUpate)
.visibility(this.isShowing ? Visibility.Visible : Visibility.Hidden) .visibility(this.isShowing ? Visibility.Visible : Visibility.Hidden)
.size({width:360,height:180})
.onAcquired((form) => { .onAcquired((form) => {
console.log("[FormComponent.FormHostAbility] get form, form id:" + form.id); console.log("[FormComponent.FormHostAbility] get form, form id:" + form.id);
globalThis.formId21 = form.id globalThis.formId21 = form.id
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册