延迟一段时间再执行后续代码
延迟时间,默认 150ms
await sleep(1000); // 等待 1 秒执行后续代码 Copy
await sleep(1000); // 等待 1 秒执行后续代码
延迟一段时间再执行后续代码