Skip to content

Conversation

@finscn
Copy link
Contributor

@finscn finscn commented Oct 10, 2025

第 1029 行 刚创建了 this._renderData ,
第 1030 行 没必要再用 this.renderData! , 不仅多了一次 function call , 还让代码风格不统一.

Re: #

Changelog


Continuous Integration

This pull request:

  • needs automatic test cases check.

    Manual trigger with @cocos-robot run test cases afterward.

  • does not change any runtime related code or build configuration

    If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.


Compatibility Check

This pull request:

  • changes public API, and have ensured backward compatibility with deprecated features.
  • affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
  • affects file structure of the build package or build configuration which requires user project upgrade.
  • introduces breaking changes, please list all changes, affected features and the scope of violation.

第 1029 行 刚创建了  this._renderData ,  
第 1030 行 没必要再用 `this.renderData!` , 不仅多了一次 function call ,  还让代码风格不统一.
@github-actions
Copy link

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1009805 bytes 1009806 bytes ⚠️ +1 bytes
2D All (legacy pipeline) 2675364 bytes 2675365 bytes ⚠️ +1 bytes
2D All (new pipeline) 2767100 bytes 2767101 bytes ⚠️ +1 bytes
(2D + 3D) All 10024070 bytes 10024071 bytes ⚠️ +1 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16843132 bytes 16843133 bytes ⚠️ +1 bytes

Interface Check Report

This pull request does not change any public interfaces !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant