diff --git a/src/App.vue b/src/App.vue index f18d2c8..7cd35d2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -87,7 +87,7 @@ updateInfo = await resp.json(); } catch (e) { } - if (!!updateInfo.Found) { + if (!!updateInfo && !!updateInfo.Found) { this.$notify.warning({ title: '发现更新', message: '发现新版本 v' + updateInfo.Version +