在指定的时间内暂停 VU 执行。
import { sleep } from 'pts';export default function () { sleep(1);}; Copy
import { sleep } from 'pts';export default function () { sleep(1);};
时间,单位秒
在指定的时间内暂停 VU 执行。