forked from um/web
Fix Update Check
This commit is contained in:
parent
1d83898f08
commit
d2ec667c19
@ -87,7 +87,7 @@
|
|||||||
updateInfo = await resp.json();
|
updateInfo = await resp.json();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
}
|
}
|
||||||
if (!!updateInfo.Found) {
|
if (!!updateInfo && !!updateInfo.Found) {
|
||||||
this.$notify.warning({
|
this.$notify.warning({
|
||||||
title: '发现更新',
|
title: '发现更新',
|
||||||
message: '发现新版本 v' + updateInfo.Version +
|
message: '发现新版本 v' + updateInfo.Version +
|
||||||
|
Loading…
Reference in New Issue
Block a user