小优化
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:
parent
069a571195
commit
014fe2cbe9
|
|
@ -3,8 +3,8 @@ import Vue from 'vue'
|
|||
import { GridLayout, GridItem } from 'vue-grid-layout'
|
||||
import SplitPane from 'vue-splitpane'
|
||||
|
||||
import d2Container from '@/components/d2-container'
|
||||
import d2LinkBtn from '@/components/d2-link-btn'
|
||||
import d2Container from './d2-container'
|
||||
import d2LinkBtn from './d2-link-btn'
|
||||
|
||||
Vue.component('d2-grid-layout', GridLayout)
|
||||
Vue.component('d2-grid-item', GridItem)
|
||||
|
|
@ -12,12 +12,12 @@ Vue.component('SplitPane', SplitPane)
|
|||
|
||||
Vue.component('d2-container', d2Container)
|
||||
Vue.component('d2-link-btn', d2LinkBtn)
|
||||
Vue.component('d2-page-cover', () => import('@/components/d2-page-cover'))
|
||||
Vue.component('d2-count-up', () => import('@/components/d2-count-up'))
|
||||
Vue.component('d2-highlight', () => import('@/components/d2-highlight'))
|
||||
Vue.component('d2-icon', () => import('@/components/d2-icon'))
|
||||
Vue.component('d2-icon-select', () => import('@/components/d2-icon-select/index.vue'))
|
||||
Vue.component('d2-icon-svg', () => import('@/components/d2-icon-svg/index.vue'))
|
||||
Vue.component('d2-markdown', () => import('@/components/d2-markdown'))
|
||||
Vue.component('d2-mde', () => import('@/components/d2-mde'))
|
||||
Vue.component('d2-quill', () => import('@/components/d2-quill'))
|
||||
Vue.component('d2-page-cover', () => import('./d2-page-cover'))
|
||||
Vue.component('d2-count-up', () => import('./d2-count-up'))
|
||||
Vue.component('d2-highlight', () => import('./d2-highlight'))
|
||||
Vue.component('d2-icon', () => import('./d2-icon'))
|
||||
Vue.component('d2-icon-select', () => import('./d2-icon-select/index.vue'))
|
||||
Vue.component('d2-icon-svg', () => import('./d2-icon-svg/index.vue'))
|
||||
Vue.component('d2-markdown', () => import('./d2-markdown'))
|
||||
Vue.component('d2-mde', () => import('./d2-mde'))
|
||||
Vue.component('d2-quill', () => import('./d2-quill'))
|
||||
|
|
|
|||
|
|
@ -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: [],
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<d2-container class="page">
|
||||
<template slot="header">用户数据</template>
|
||||
<template slot="header">持久化存储用户数据</template>
|
||||
<el-row>
|
||||
|
||||
<el-col :span="12">
|
||||
|
|
|
|||
Loading…
Reference in New Issue