清除某个元件下的所有内容。
只需一句话操作。
while(main.numChildren>0){ main.removeChildAt(0); }
Powered by: 博客园 Copyright © 2024 股墓山庄庄主 Powered by .NET 8.0 on Kubernetes