mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 07:01:24 +00:00
修复静态告警
Signed-off-by: lipeicheng <lipeicheng5@huawei.com> Change-Id: Ife518a1d77b495f244d7b3c1839e5e858c4948fd
This commit is contained in:
parent
ec73625a07
commit
eef12186f6
@ -310,6 +310,7 @@ RefPtr<FrameNode> SheetView::BuildMainTitle(RefPtr<FrameNode> sheetNode, NG::She
|
||||
|
||||
RefPtr<FrameNode> SheetView::BuildSubTitle(RefPtr<FrameNode> sheetNode, NG::SheetStyle& sheetStyle)
|
||||
{
|
||||
CHECK_NULL_RETURN(sheetNode, nullptr);
|
||||
auto pattern = sheetNode->GetPattern<SheetPresentationPattern>();
|
||||
CHECK_NULL_RETURN(pattern, nullptr);
|
||||
auto subtitleId = pattern->GetSubtitleId();
|
||||
|
@ -65,6 +65,7 @@ RefPtr<StepperComponent> StepperComposedElement::GetStepperComponent() const
|
||||
void StepperComposedElement::UpdateChildWithSlot(int32_t slot, const RefPtr<Component>& newComponent)
|
||||
{
|
||||
auto stepperComponent = GetStepperComponent();
|
||||
CHECK_NULL_VOID(stepperComponent);
|
||||
stepperComponent->InsertChild(slot, newComponent);
|
||||
auto renderStepper = GetInspectorElement<RenderStepper>(StepperElement::TypeId());
|
||||
if (!renderStepper) {
|
||||
|
Loading…
Reference in New Issue
Block a user