mirror of
https://github.com/openharmony/ace_ace_engine.git
synced 2026-07-21 09:55:23 -04:00
修改date-picker组件inspector树显示多余节点问题
Signed-off-by: peter <zhuzijia@huawei.com> Change-Id: I7feb8fc17ce0b2e7dbe66b68552f07d77e178bee
This commit is contained in:
@@ -375,6 +375,11 @@ int32_t AccessibilityNodeManager::GenerateNextAccessibilityId()
|
||||
RefPtr<AccessibilityNode> AccessibilityNodeManager::CreateSpecializedNode(
|
||||
const std::string& tag, int32_t nodeId, int32_t parentNodeId)
|
||||
{
|
||||
#if defined(WINDOWS_PLATFORM) || defined(MAC_PLATFORM)
|
||||
if (IsDeclarative()) {
|
||||
return nullptr;
|
||||
}
|
||||
#endif
|
||||
if (nodeId < ROOT_STACK_BASE) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user