0
|
Mahdi Bashirpour · 技术社区 · 7 年前 |
![]() |
1
0
我不确定是否可以将state/props从引用更改为组件。您可以将state设置为scrollenabled的布尔值。现在您可以通过更改状态来启用/禁用滚动。
|