mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-12-03 13:06:04 +00:00
格式修改
Signed-off-by: xufei <2404297821@qq.com>
This commit is contained in:
parent
c7db375b4f
commit
0dbd05b3c6
@ -675,13 +675,11 @@ void FormPattern::AddFormComponent(const RequestFormInfo& info)
|
||||
host->GetRenderContext()->UpdateBorderRadius(borderRadius);
|
||||
}
|
||||
isJsCard_ = true;
|
||||
PostBgTask(
|
||||
[weak = WeakClaim(this), info, host] {
|
||||
PostBgTask([weak = WeakClaim(this), info, host] {
|
||||
auto pattern = weak.Upgrade();
|
||||
CHECK_NULL_VOID(pattern);
|
||||
pattern->AddFormComponentTask(info, host);
|
||||
},
|
||||
"ArkUIAddFormComponent");
|
||||
}, "ArkUIAddFormComponent");
|
||||
}
|
||||
|
||||
void FormPattern::AddFormComponentTask(const RequestFormInfo& info, RefPtrNG::FrameNode host)
|
||||
@ -707,14 +705,12 @@ void FormPattern::AddFormComponentTask(const RequestFormInfo& info, RefPtrNG::Fr
|
||||
#endif
|
||||
|
||||
if (!formInfo.transparencyEnabled && CheckFormBundleForbidden(info.bundleName)) {
|
||||
PostUITask(
|
||||
[weak = WeakClaim(this), info] {
|
||||
ACE_SCOPED_TRACE("ArkUILoadDisableFormStyle");
|
||||
auto pattern = weak.Upgrade();
|
||||
CHECK_NULL_VOID(pattern);
|
||||
pattern->LoadDisableFormStyle(info);
|
||||
},
|
||||
"ArkUILoadDisableFormStyle");
|
||||
PostUITask([weak = WeakClaim(this), info] {
|
||||
ACE_SCOPED_TRACE("ArkUILoadDisableFormStyle");
|
||||
auto pattern = weak.Upgrade();
|
||||
CHECK_NULL_VOID(pattern);
|
||||
pattern->LoadDisableFormStyle(info);
|
||||
}, "ArkUILoadDisableFormStyle");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user