fix(vue): fix reactions not work correctly in schema field #3287
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.
Before submitting a pull request, please make sure the following is done...
master
orformily_next
.npm test
).npm run lint
) - we've done our best to make sure these rules match our internal linting guidelines.Please do not delete the above content
该PR影响的场景,当SchemaField作为某组件子元素时,外层会比之前多一个 display:contents 的 div 元素(替换了原本产生问题的Fragment组件),对于某些会检测子元素个数的父组件会有影响。例如:
FormGrid 会根据子元素个数给定不同的默认值,在以上场景,手动设置 minColumns 等属性可保证前后表现一致。