![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/50470483036610.png "#l为啥点一下button就变成发射了i还不是0
贴代码说话
没代码鬼知道为什么我猜你没用timer,而是写了个死循环来改变i?