qld-cf / electron-react-tpl

electron12 + umi3.2 + typescript react 16.12 + redux + antDesign 4.0 + eslint tslint react-tslint脚手架, 下载即用,仅供学习参考
155 stars 37 forks source link

npm start 后有未知请求发生 #2

Closed dycody closed 4 years ago

dycody commented 4 years ago

timeout后偶尔会程序奔溃

npm start 启动项目后项目正常运行,后台有未知请求如下

image

dycody commented 4 years ago
// 异步安装插件
    installExtension(REACT_DEVELOPER_TOOLS)
      .then(name => console.log(`Added Extension REDUX_DEVTOOLS:  ${name}`))
      .catch(err => console.log('An error occurred: ', err))
    installExtension(REDUX_DEVTOOLS)
      .then(name => console.log(`Added Extension REDUX_DEVTOOLS:  ${name}`))
      .catch(err => console.log('An error occurred: ', err))

导致请求发生