mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
Fix
This commit is contained in:
@@ -6,16 +6,11 @@ import { AES, enc, SHA1 } from 'crypto-js'
|
||||
})
|
||||
export class LocalstoreService {
|
||||
|
||||
private prefix = 'v0-'
|
||||
private prefix = 'v6-'
|
||||
|
||||
constructor() {
|
||||
|
||||
const key = SHA1('version').toString()
|
||||
const version = this.prefix.charAt(1)
|
||||
|
||||
if(this.get(key, false)) {
|
||||
// alert('new Update')
|
||||
}
|
||||
|
||||
this.set(key, this.prefix)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user