TypeError: c.setTimeout is not a function
Open
- Dominant language
- JavaScript
- Stars
- 41.6k
- Forks
- 3.7k
- Avg merge
- 7h 6m
- Merged PRs (30d)
- 6
Description
### 发行方式
App
### 具体平台
Android
### 开发环境
Windows
### 项目创建方式
HBuilderX
### Vue 版本
vue3
### 依赖版本
HB 版本 4.87
### 问题描述
在开发环境会经常出现比如TypeError: c.setTimeout is not a function 或者 c.setInterval is not a function 这种问题
下面第一张图是开发环境HB日志,第二张图是在模拟器上的发行包
### 重现步骤
生产环境这个问题不是必现,目前在发型包中是APP长时间不打开,然后打开的时候里面的代码执行定时器就会报错,开发环境如果在HB中重新运行有时候就会出现
### 期望行为
_No response_
### 实际行为
_No response_
### 截图或录屏
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.