add autoMin

This commit is contained in:
Harvey committed 2020-05-19 11:47:45 +08:00
1 parent 33a7e1193d
commit b202c21a7f
11 files changed
+150 -18

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ export default class Storage {
get(key) {
const storage = JSON.parse(localStorage.getItem(this.name)) || {};
return key ? storage[key] : {};
return key ? storage[key] : storage;
}
set(key, value) {