fix?
This commit is contained in:
parent
65ee08c048
commit
aed70a05c8
2 changed files with 8 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "13.0.8.3",
|
"version": "13.0.8.4",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -23,8 +23,13 @@ import { version } from '@/config';
|
||||||
import { i18n } from '@/i18n';
|
import { i18n } from '@/i18n';
|
||||||
import * as os from '@/os';
|
import * as os from '@/os';
|
||||||
|
|
||||||
const data = await os.api('release');
|
let newRelease = false;
|
||||||
const newRelease = (version === data.version);
|
let data;
|
||||||
|
os.api('latest-version').then(res => {
|
||||||
|
data = res;
|
||||||
|
newRelease = (version === data?.version);
|
||||||
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
Loading…
Reference in a new issue