File tree 4 files changed +242
-5895
lines changed
4 files changed +242
-5895
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " ahooks-vue" ,
3
- "version" : " 0.12.5 " ,
3
+ "version" : " 0.12.8 " ,
4
4
"description" : " ahooks-vue" ,
5
5
"types" : " dist/src/index.d.ts" ,
6
6
"repository" : " https://github.com/dewfall123/ahooks-vue.git" ,
69
69
"screenfull" : " ^5.1.0" ,
70
70
"ts-jest" : " ^25.2.1" ,
71
71
"typescript" : " ^4.1.5" ,
72
- "vitepress-for-component" : " ^0.15.1 " ,
73
- "vue" : " ^3.0.1 " ,
72
+ "vitepress-for-component" : " ^0.16.8 " ,
73
+ "vue" : " ^3.2.29 " ,
74
74
"whatwg-fetch" : " ^3.5.0"
75
75
},
76
76
"homepage" : " https://dewfall123.github.io/ahooks-vue/" ,
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export async function useLocalforage<T = any>(
31
31
}
32
32
33
33
function setState ( ) {
34
- localStorage . setItem ( key , JSON . stringify ( state . value ) ) ;
34
+ localforage . setItem ( key , state . value ) ;
35
35
}
36
36
37
37
watch (
You can’t perform that action at this time.
0 commit comments