假设
<component list-attribute="a b c" bool-attribute></component>
让组件状态像这样的最佳方式是什么:
@Component(...
class Component{
List<String> listAttribute; // Should automatically contain [a,b,c]
bool boolAttribute; // Should automatically contain truehttps://stackoverflow.com/questions/47483833
复制相似问题