feat(storage): add new storage (#48)

* feat(storage): add new storage,新增 database 和 cookie 存储
* fix(storage): 区分用户,获取当前存储路径时,应该获取当前用户,用来区分用户
* fix: ts alias mapping
* chore: remove lodash
* fix(storage): replace lodash with lodash-es
* fix(storage): initialization,Initialization failed, unable to write
This commit is contained in:
hb0730
2021-09-29 09:07:54 +08:00
committed by GitHub
parent 6d814316c2
commit e661f60f13
9 changed files with 175 additions and 12 deletions

View File

@@ -27,12 +27,12 @@
"axios": "^0.21.1",
"cropperjs": "^1.5.11",
"dayjs": "^1.10.6",
"dotenv": "^8.2.0",
"echarts": "^5.1.2",
"element-plus": "^1.1.0-beta.16",
"element-resize-detector": "^1.2.3",
"font-awesome": "^4.7.0",
"lodash-es": "^4.17.21",
"lowdb": "^3.0.0",
"mitt": "^2.1.0",
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",
@@ -42,6 +42,7 @@
"resize-observer-polyfill": "^1.5.1",
"responsive-storage": "^1.0.10",
"sortablejs": "1.13.0",
"typescript-cookie": "^1.0.0",
"v-contextmenu": "^3.0.0",
"vue": "^3.2.19",
"vue-i18n": "^9.2.0-beta.3",