feat(components): refactoring button configuration, supporting the me…#745
Closed
Azir-11 wants to merge 1 commit intosoybeanjs:mainfrom
Closed
feat(components): refactoring button configuration, supporting the me…#745Azir-11 wants to merge 1 commit intosoybeanjs:mainfrom
Azir-11 wants to merge 1 commit intosoybeanjs:mainfrom
Conversation
…rging and sorting of custom and preset buttons.
Member
|
感觉搞得有点复杂 |
Member
Author
上次说的支持这个按钮的集合的来着,做着做着就成这样了,这个上的话我会去example里加一个菜单去介绍高级组件的使用,再去文档里补一个高级组件的文档,搭配ai,使用起来方便程度应该还是可以保证的 |
Member
|
实现方式可以这样考虑,将组件分成一个按钮集合容器,然后各种按钮单独封装下,应用的时候引入容器和按钮,这样也不用针对按钮设置很多属性 |
Member
|
因为按钮这东西能配置的东西太多了,揉在一起反而不好 |
Member
Author
|
好的,我改改 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
重构按钮配置,支持自定义按钮和预设按钮的合并与排序