Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaotoday committed Nov 18, 2018
1 parent 00da2e5 commit 1c10c0f
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/components/editor/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
import _consts from './utils/consts'
import _helpers from './utils/helpers'
import helpers from '@/utils/helpers/base'
import CUploader from '@/components/Uploader'
import CUploader from '@/components/uploader'
const KindEditor = window.KindEditor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</template>

<script>
import CIcon from '@/components/Icon'
import CIcon from '@/components/icon'
export default {
name: 'TheHeader',
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/components/main/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
</template>
<script>
import TheHeader from './components/Header'
import TheHeader from './components/header'
export default {
name: 'TheMain',
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/components/sidebar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<script>
import consts from '@/utils/consts'
import CIcon from '@/components/Icon'
import CIcon from '@/components/icon'
export default {
name: 'TheSidebar',
Expand Down
4 changes: 2 additions & 2 deletions src/components/layout/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</template>

<script>
import TheSidebar from './components/Sidebar'
import TheMain from './components/Main'
import TheSidebar from './components/sidebar'
import TheMain from './components/main'
export default {
name: 'TheLayout',
Expand Down
10 changes: 5 additions & 5 deletions src/components/list/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import CList from './components/List'
import CListHeader from './components/Header'
import CListOperations from './components/Operations'
import CListSearch from './components/Search'
import CListNavigation from './components/Navigation'
import CList from './components/list'
import CListHeader from './components/header'
import CListOperations from './components/operations'
import CListSearch from './components/search'
import CListNavigation from './components/navigation'

export { CListHeader, CListOperations, CListSearch, CListNavigation }
export default CList
2 changes: 1 addition & 1 deletion src/components/uploader/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</template>

<script>
import CChildUploader from './components/Uploader'
import CChildUploader from './components/uploader'
export default {
name: 'CUploader',
Expand Down
2 changes: 1 addition & 1 deletion src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Vue from 'vue'
import Router from 'vue-router'
import auth from '@/utils/auth'
import TheLayout from '@/components/layout'
import Root from '@/pages/root'
import Root from '@/views/root'
import notFound from './routes/not-found'
import home from './routes/home'
import login from './routes/login'
Expand Down
2 changes: 1 addition & 1 deletion src/router/routes/home.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
path: '/',
component: resolve => require(['@/pages/home'], resolve)
component: resolve => require(['@/views/home'], resolve)
}
2 changes: 1 addition & 1 deletion src/router/routes/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import auth from '@/utils/auth'

export default {
path: 'login',
component: resolve => require(['@/pages/login'], resolve),
component: resolve => require(['@/views/login'], resolve),
beforeEnter (to, from, next) {
if (auth.loggedIn()) {
next('/')
Expand Down
2 changes: 1 addition & 1 deletion src/router/routes/not-found.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default {
path: '*',
component: resolve => require(['@/pages/not-found'], resolve)
component: resolve => require(['@/views/not-found'], resolve)
}

0 comments on commit 1c10c0f

Please sign in to comment.