mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
upload chat file
This commit is contained in:
@@ -23,7 +23,7 @@ export class EventoaprovacaoStoreService {
|
||||
this.keyNameAll = (SHA1("EventoaprovacaoStoreService"+"all")).toString()
|
||||
|
||||
|
||||
setTimeout(()=>{
|
||||
setTimeout(() => {
|
||||
let {list , counts} = localstoreService.get(this.keyNameAll, {})
|
||||
|
||||
this._list = list || {}
|
||||
@@ -42,7 +42,11 @@ export class EventoaprovacaoStoreService {
|
||||
}
|
||||
|
||||
|
||||
save(segment, value: []) {
|
||||
save(segment: string, value: []) {
|
||||
|
||||
if(typeof segment == 'object') {
|
||||
throw("segment most be userId")
|
||||
}
|
||||
|
||||
if(!this._list[segment]) {
|
||||
this._list[segment] = []
|
||||
|
||||
Reference in New Issue
Block a user