小优化

Former-commit-id: 481cf188c42c422d9eec5f7c86d29b9cc1e8a790 [formerly 481cf188c42c422d9eec5f7c86d29b9cc1e8a790 [formerly 481cf188c42c422d9eec5f7c86d29b9cc1e8a790 [formerly 481cf188c42c422d9eec5f7c86d29b9cc1e8a790 [formerly 1f6deed522a3476687a3ddea3c1d1e0726852669 [formerly 47e7552b4963544f2c16950a67eaafd831ab2373]]]]]
Former-commit-id: d092597dbf762e1b00d022eea12d2b0052059602
Former-commit-id: d8a2a37f9ad6264267b2d963dd824ad4eaa0da42
Former-commit-id: 17b6b9994e236e560e4c3129bedc98c245790d87 [formerly 0019eb4ef3a9007ce048472ec10a169402256243]
Former-commit-id: 059edb45bd909d65993296fd2d1474d5c14a7f9f
Former-commit-id: 93c878decf9bab2d3635ced50529004f60da3ef1
Former-commit-id: 3310623d32dcfdcc98b4ae24ea48cadbed961838
Former-commit-id: 40a583ed0980eca794a083e7f9220777b2746104
Former-commit-id: 48f0776e4a6cf33a46f826e0ca1e1af306c448de
This commit is contained in:
liyang
2018-07-24 15:59:43 +08:00
parent 069a571195
commit 014fe2cbe9
3 changed files with 12 additions and 18 deletions

View File

@@ -5,12 +5,6 @@ import { version } from '../../package'
const adapter = new LocalStorage(`d2admin-${version}`)
const db = low(adapter)
console.group('db')
console.log(`db.get('themeActiveName').value()`, db.get('themeActiveName').value())
console.log(`db.get('pageOpenedList').value()`, db.get('pageOpenedList').value())
console.log(`db.get('userInfo').value()`, db.get('userInfo').value())
console.groupEnd()
// 初始化数据库
db.defaults({
themeActiveName: [],