サーバーのバージョンとクライアントのバージョンを分けた
This commit is contained in:
parent
8682fd21c4
commit
0b99483ccb
8 changed files with 16 additions and 22 deletions
|
|
@ -3,7 +3,7 @@ import { version as current } from '../../config';
|
|||
|
||||
export default async function(mios: MiOS, force = false, silent = false) {
|
||||
const meta = await mios.getMeta(force);
|
||||
const newer = meta.version;
|
||||
const newer = meta.clientVersion;
|
||||
|
||||
if (newer != current) {
|
||||
localStorage.setItem('should-refresh', 'true');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue