RecursionField做递归渲染,表达式可以执行,但是字段联动失效。 #3889
Replies: 1 comment
-
解决了,我最外层的组件需要设置成void包裹,联动才会生效。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
使用RecursionField主要想重写一个通用的布局组件,把重复性的schema封装方便后端使用。发现在RecursionField中联动效果会失效,在普通的SchemaField就不会失效。 还有就是想请教一下x-compile-omitted的作用是什么~
![image](https://private-user-images.githubusercontent.com/58249740/250803265-2879028b-876e-4a2f-b0b8-62b2b9eb896a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2ODM4MzgsIm5iZiI6MTcyNDY4MzUzOCwicGF0aCI6Ii81ODI0OTc0MC8yNTA4MDMyNjUtMjg3OTAyOGItODc2ZS00YTJmLWIwYjgtNjJiMmI5ZWI4OTZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE0NDUzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTE4ZjEzY2Q1YmY1NjBiNWI2NDMyYjFhZWU5MWRmNzE1NGQ0Y2ExZjUzOWFmZDZmZThmYWQyZWVjODE1MWJkNzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.w8SISJ3msK8OkUEHOzXjsx24Y29dNZ64yw-xYc89XFQ)
![image](https://private-user-images.githubusercontent.com/58249740/250803448-e657ced4-0e13-4217-aaf2-c03d3300ef27.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2ODM4MzgsIm5iZiI6MTcyNDY4MzUzOCwicGF0aCI6Ii81ODI0OTc0MC8yNTA4MDM0NDgtZTY1N2NlZDQtMGUxMy00MjE3LWFhZjItYzAzZDMzMDBlZjI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE0NDUzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYwODEwNTVkYTNiNzA5ZTdhYjZlMzEzNDc4NzA3ZDdjNDkxZjBkZGJkMzQwMTdjYmZmNDliZTNkYzE1OTEyZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.y7e501ekQpIPU02ERDWAZfADZazf2FWjPvQYA_6jWko)
Beta Was this translation helpful? Give feedback.
All reactions