Skip to content

fix: 修复同一个插件重复注册,config 被覆盖的问题 #3

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

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

Alessandro-Pang
Copy link
Contributor

fix bug: leaferjs/leafer-ui#42

提供 bug 解决方法:浅拷贝一份插件内容。

个人感觉浅拷贝这一步不应当让上层用户去做:

  • 一是会造成冗余代码,
  • 二个则是容易产生 bug,比如一般用户不知道需要浅拷贝,或者浅拷贝后仍然可能使用了之前的插件。

@CLAassistant
Copy link

CLAassistant commented Aug 9, 2023

CLA assistant check
All committers have signed the CLA.

@leaferjs leaferjs merged commit 803d4e0 into leaferjs:main Aug 10, 2023
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

3 participants