您的当前位置:首页>全部文章>文章详情

Vue3报错Promise executor functions should not be async.

2019ab/CSDN发表于:2024-05-21 22:40:20浏览:153次TAG: #Vue

解决方法

加注释。。。// eslint-disable-next-line no-async-promise-executor

// eslint-disable-next-line no-async-promise-executor
new Promise<boolean>(async (resolve, reject) => {
  ...
}),
腾讯云采购季云服务器一折促销