Fix Update Check
This commit is contained in:
parent
1d83898f08
commit
d2ec667c19
@ -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 +
|
||||
|
Loading…
Reference in New Issue
Block a user