计时器设置的时间间隔 作为参数传给你callback

  • Creator 版本:1.10.0

  • 目标平台:Web

  • 详细报错信息,包含调用堆栈:

  • 重现方式:
    _test() {
    this.schedule(this.testSchedule, 5)
    },
    testSchedule(data) {
    console.log(“打印出的参数信息”, data,“当前时间”,new Date());
    },