修复请求超时的逻辑处理Bug

This commit is contained in:
lyswhut
2019-09-27 10:53:24 +08:00
parent ea10dd68a3
commit 29855b2b6e
4 changed files with 15 additions and 17 deletions
+6
View File
@@ -18,10 +18,16 @@
</template>
<script>
import dnscache from 'dnscache'
import { mapMutations, mapGetters, mapActions } from 'vuex'
import { rendererOn } from '../common/icp'
import { isLinux } from '../common/utils'
window.ELECTRON_DISABLE_SECURITY_WARNINGS = process.env.ELECTRON_DISABLE_SECURITY_WARNINGS
dnscache({
enable: true,
ttl: 21600,
cachesize: 1000,
})
let win
let body
if (!isLinux) {