Browse Source

chore: cleanup.

Sendya 6 years ago
parent
commit
1fac164b2e

+ 0 - 1
src/App.vue

@@ -34,7 +34,6 @@ export default {
           $store.dispatch('setSidebar', true)
           break
       }
-      console.log('deviceType', deviceType)
     })
   }
 }

+ 0 - 2
src/components/page/GlobalLayout.vue

@@ -113,7 +113,6 @@ export default {
   },
   watch: {
     sidebarOpened (val) {
-      console.log('sidebarOpened', val)
       this.collapsed = !val
     }
   },
@@ -146,7 +145,6 @@ export default {
       } else {
         left = this.isMobile() && '0' || (this.fixSidebar && '80px' || '0')
       }
-      console.log('left', left)
       return left
     },
     menuSelect () {

+ 0 - 1
src/components/tools/DetailList.vue

@@ -25,7 +25,6 @@ const Item = {
     }
   },
   render () {
-    console.log('this.$slots.default', this.$slots.default)
     return (
       <Col {...{ props: responsive[this.col] }}>
         <div class="term">{this.$props.term}</div>

+ 0 - 2
src/components/tools/Logo.vue

@@ -10,8 +10,6 @@
 <script>
 import LogoSvg from '@/assets/logo.svg?inline'
 
-console.log(LogoSvg)
-
 export default {
   name: 'Logo',
   components: {

+ 0 - 2
src/store/modules/app.js

@@ -30,8 +30,6 @@ const app = {
     SET_SIDEBAR_TYPE: (state, type) => {
       state.sidebar = type
       Vue.ls.set(SIDEBAR_TYPE, type)
-
-      console.log('SET_SIDEBAR_TYPE', type)
     },
     CLOSE_SIDEBAR: (state) => {
       Vue.ls.set(SIDEBAR_TYPE, true)