修改入参名称,保持多入口一致

Signed-off-by: zoulinken <zoulinken1@huawei.com>
This commit is contained in:
zoulinken 2024-09-25 14:28:37 +08:00
parent 1fc783b51e
commit bae2202708
2 changed files with 9 additions and 9 deletions

View File

@ -1296,11 +1296,11 @@
"name": "OH_ArkUI_NodeUtils_GetPositionWithTranslateInScreen"
},
{
"first_introduced": "14",
"first_introduced": "13",
"name": "OH_ArkUI_NodeUtils_AddCustomProperty"
},
{
"first_introduced": "14",
"first_introduced": "13",
"name": "OH_ArkUI_NodeUtils_RemoveCustomProperty"
},
{

View File

@ -7684,20 +7684,20 @@ int32_t OH_ArkUI_NodeUtils_GetPositionWithTranslateInScreen(ArkUI_NodeHandle nod
* @brief Add the custom property of the component.
*
* @param node ArkUI_NodeHandle pointer.
* @param key The key of the custom property.
* @param key The value of the custom property.
* @since 14
* @param name The name of the custom property.
* @param value The value of the custom property.
* @since 13
*/
void OH_ArkUI_NodeUtils_AddCustomProperty(ArkUI_NodeHandle node, const char* key, const char* value);
void OH_ArkUI_NodeUtils_AddCustomProperty(ArkUI_NodeHandle node, const char* name, const char* value);
/**
* @brief Remove the custom property of the component.
*
* @param node ArkUI_NodeHandle pointer.
* @param key The key of the custom property.
* @since 14
* @param name The name of the custom property.
* @since 13
*/
void OH_ArkUI_NodeUtils_RemoveCustomProperty(ArkUI_NodeHandle node, const char* key);
void OH_ArkUI_NodeUtils_RemoveCustomProperty(ArkUI_NodeHandle node, const char* name);
/**
* @brief Collapse the ListItem in its expanded state.