add: view.lib.gstore (GlobalStore class for VueJS)
This commit is contained in:
parent
f1a9e65327
commit
5d9cc9e33c
|
@ -0,0 +1,14 @@
|
|||
/* classe GlobalStore */
|
||||
export class GlobalStore{
|
||||
|
||||
constructor(){
|
||||
|
||||
this.data = {};
|
||||
|
||||
}
|
||||
|
||||
add(field, value){
|
||||
this.data[field] = value;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue