已关闭
NODE_REFRESH_CONTENT注释中错误地描述了获取接口 #4737
tomkl123创建于  8月18日关闭于  8月21日
tomkl123
tomkl123
8月18日 创建

问题描述

native_node.h 中 NODE_REFRESH_CONTENT 的英文注释描述为 'This attribute can be set, reset, and obtained as required through APIs',暗示该属性支持获取接口(get)。

但实际上该属性只有设置参数格式的描述,没有返回值格式(获取接口)的描述,不支持获取操作。

对比

  • 英文版注释: 'can be set, reset, and obtained'(错误,提到了获取)
  • 中文版注释: '支持属性设置和重置'(正确,没有提到获取)

修复方案

将英文注释中的 'set, reset, and obtained' 修改为 'set and reset',使其与中文版注释及实际 API 能力保持一致。

涉及文件

  • arkui/ace_engine/native/native_node.h
likedislike
openharmony_ci
openharmony_ci成员
8月18日 评论:

感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@majiajun518](https://gitcode.com/majiajun518) [@liyiming13](https://gitcode.com/liyiming13) 。如果需要调整订阅PR、Issue的变更状态,请访问链接


Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer gitcode for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.

likedislike
openharmony_ciopenharmony_ci成员
8月18日 添加了label:waiting_for_assign
tomkl123tomkl123
8月18日 关联了pull request:fix: 修复NODE_REFRESH_CONTENT注释中错误描述获取接口
tomkl123tomkl123
8月19日 关联了pull request:fix: 修复NODE_REFRESH_CONTENT注释中错误描述获取接口
openharmony_ciopenharmony_ci成员
8月21日 关闭了 issue
openharmony_ciopenharmony_ci成员
8月21日 issue状态由 待办的 改变为 已完成