Skip to content

Commit

Permalink
Update upgrade-guide-v3.0.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKylinGithub committed Jun 3, 2024
1 parent 53fbdb3 commit 41c0442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion versions/3.8/zh/release-notes/upgrade-guide-v3.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ Cocos Creator 3.x 开启了 TypeScript 的严格模式,会对代码进行更

如果不想使用严格模式,可以在 Creator 顶部菜单栏的 **项目 -> 项目设置 -> 脚本** 中勾选 **启用宽松模式**。需要提醒的是,我们并不鼓励关闭严格模式,因为严格空值检查能够减少代码运行时的一些低级报错。

关于严格模式下的书写规范,可以参照官方案例 **快上车 3D**[GitHub](https://github.com/cocos/cocos-tutorial-taxi-game) | [Gitee](https://gitee.com/mirrors_cocos-creator/tutorial-taxi-game)
关于严格模式下的书写规范,可以参照官方案例 快上车 3D([GitHub](https://github.com/cocos/cocos-tutorial-taxi-game)

### Action 动作全都失效

Expand Down

0 comments on commit 41c0442

Please sign in to comment.