mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2025-03-07 11:44:41 +00:00
!35805 NDK C-Api ImageAlt 参数校验
Merge pull request !35805 from aryawang/612master
This commit is contained in:
commit
cab1058849
@ -9556,7 +9556,7 @@ int32_t SetAutoResize(ArkUI_NodeHandle node, const ArkUI_AttributeItem* item)
|
||||
|
||||
int32_t SetAlt(ArkUI_NodeHandle node, const ArkUI_AttributeItem* item)
|
||||
{
|
||||
if (!item || !item->string || !item->object) {
|
||||
if (!item || (!item->string && !item->object)) {
|
||||
return ERROR_CODE_PARAM_INVALID;
|
||||
}
|
||||
auto* fullImpl = GetFullImpl();
|
||||
|
Loading…
x
Reference in New Issue
Block a user