解决方案: window.setTimeout(() => { useMainStore().setLoading(false) }, 2000) https://github.com/TypeStrong/atom-typescript/issues/1053