Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(tag): refactor tag component used by composition #273

Merged
merged 10 commits into from Feb 14, 2022
Merged

refactor(tag): refactor tag component used by composition #273

merged 10 commits into from Feb 14, 2022

Conversation

higuaifan
Copy link
Contributor

🤔 这个 PR 的性质是?

  1. 使用vue3 composition API重构tagcheck-tag组件;
  • 是关于什么的改动?

#58

💡 需求背景和解决方案

  1. 混入configReceiver改为使用useReceiver;
  2. emitEvent改为使用useEmitEvent;
  3. methodscomputed迁移到了setup中;

📝 更新日志

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

  • 文档无须补充
  • 代码演示无须提供
  • TypeScript 定义无须补充
  • Changelog 无须提供

@higuaifan higuaifan changed the title [WIP]:refactor(tag): refactor tag component used by composition refactor(tag): refactor tag component used by composition Jan 27, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2022

完成

@PengYYYYY
Copy link
Collaborator

新年快乐,休假中,CR可能会比较慢

@higuaifan
Copy link
Contributor Author

新年快乐,休假中,CR可能会比较慢

新年快乐🎉 ,大佬们辛苦了,别卷了,休假就休假吧(狗头)

src/tag/check-tag.tsx Show resolved Hide resolved
src/tag/check-tag.tsx Outdated Show resolved Hide resolved
src/tag/check-tag.tsx Outdated Show resolved Hide resolved
src/tag/tag.tsx Outdated Show resolved Hide resolved
src/tag/tag.tsx Show resolved Hide resolved
src/tag/tag.tsx Show resolved Hide resolved
@higuaifan
Copy link
Contributor Author

@PengYYYYY CR的问题已修复,不过有个写法感觉有点奇怪,麻烦看一下。

tag component changed tagClass array item's order , so update snapshots.
@PengYYYYY
Copy link
Collaborator

处理一下冲突

…onAPI

# Conflicts:
#	src/tag/check-tag.tsx
#	src/tag/tag.tsx
#	test/unit/tag/__snapshots__/demo.test.js.snap
#	test/unit/tag/__snapshots__/index.test.js.snap
after merge upstream overwrite old snap , so update snapshots.
some component snapshots contains tag component, so need update snapshots.
@higuaifan
Copy link
Contributor Author

处理一下冲突

已处理,并且处理了下snapshots,看了下tag牵扯到的文件有点多,辛苦审核了。

@PengYYYYY PengYYYYY closed this Feb 13, 2022
@PengYYYYY PengYYYYY reopened this Feb 13, 2022
@PengYYYYY
Copy link
Collaborator

看下lint问题喔

@higuaifan
Copy link
Contributor Author

看下lint问题喔

已修复。。辛苦了。

@PengYYYYY PengYYYYY merged commit 0ec014f into Tencent:compositionAPI Feb 14, 2022
PengYYYYY pushed a commit that referenced this pull request Feb 16, 2022
@PengYYYYY PengYYYYY mentioned this pull request Mar 8, 2022
52 tasks
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.

None yet

2 participants