Fix Update Check

This commit is contained in:
MengYX 2020-03-01 23:34:24 +08:00
parent 1d83898f08
commit d2ec667c19
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604

View File

@ -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 +