feat:ComponentInternalInstance 类型适配 #1

Merged
java668 merged 1 commits from dev into dev 2024-01-21 19:19:56 +08:00
java668 commented 2024-01-21 17:59:15 +08:00 (Migrated from github.com)

PR 类型

  • 新 feature
  • Bug 修复
  • 功能增强
  • 文档变更
  • 代码样式变更
  • 重构
  • 性能改进
  • 单元测试
  • CI/CD
  • 其他

PR 目的

更正 getCurrentInstance() 类型

解决方案

getCurrentInstance() 类型从 any 调整为 ComponentInternalInstance 类型。

PR 测试

Changelog

模块 Changelog Related issues
更正 getCurrentInstance() 类型

其他信息

提交前确认

  • PR 代码经过了完整测试,并且通过了代码规范检查
  • 已经完整填写 Changelog,并链接到了相关 issues
  • PR 代码将要提交到 dev 分支
<!-- 非常感谢您的 PR!在提交之前,请务必确保您 PR 的代码经过了完整测试,并且通过了代码规范检查。 --> <!-- 在 [] 中输入 x 来勾选) --> ## PR 类型 <!-- 您的 PR 引入了哪种类型的变更? --> <!-- 只支持选择一种类型,如果有多种类型,可以在更新日志中增加 “类型” 列。 --> - [ ] 新 feature - [ ] Bug 修复 - [ ] 功能增强 - [ ] 文档变更 - [ ] 代码样式变更 - [x] 重构 - [ ] 性能改进 - [ ] 单元测试 - [ ] CI/CD - [ ] 其他 ## PR 目的 更正 getCurrentInstance() 类型 ## 解决方案 getCurrentInstance() 类型从 any 调整为 ComponentInternalInstance 类型。 ## PR 测试 <!-- 如果可以,请为您的 PR 添加或更新单元测试。 --> <!-- 请描述一下您是如何测试 PR 的。例如:创建/更新单元测试或添加相关的截图。 --> ## Changelog | 模块 | Changelog | Related issues | |-----|-----------| -------------- | | | 更正 getCurrentInstance() 类型 | 无 | <!-- 如果有多种类型的变更,可以在变更日志表中增加 “类型” 列,该列的值与上方 “PR 类型” 相同。 --> <!-- Related issues 格式为 Closes #<issue号>,或者 Fixes #<issue号>,或者 Resolves #<issue号>。 --> ## 其他信息 <!-- 请描述一下还有哪些注意事项。例如:如果引入了一个不向下兼容的变更,请描述其影响。 --> ## 提交前确认 - [x] PR 代码经过了完整测试,并且通过了代码规范检查 - [x] 已经完整填写 Changelog,并链接到了相关 issues - [x] PR 代码将要提交到 dev 分支
java668 commented 2024-01-21 17:59:46 +08:00 (Migrated from github.com)

ComponentInternalInstance 类型适配

ComponentInternalInstance 类型适配
This repo is archived. You cannot comment on pull requests.
No description provided.