Browse Source

清console

zweizhao 7 years ago
parent
commit
1680fb1b8d
4 changed files with 0 additions and 11 deletions
  1. 0 2
      components/group/ce.vue
  2. 0 5
      pages/cert/type/_id.vue
  3. 0 2
      pages/group/index.vue
  4. 0 2
      plugins/http.js

+ 0 - 2
components/group/ce.vue

@@ -172,7 +172,6 @@ export default {
         })
         return
       }
-      // console.log(job_ids)
       /**
        * 更新
         /api/group/update
@@ -188,7 +187,6 @@ export default {
         job_ids,
       }
       if(this.isEdit) body.id = this.detailID
-      // console.log(body)
       let res = await this.$post(`/api/group/${this.isEdit ? 'update' : 'create'}`, body)
       if(res) {
         this.$message({

+ 0 - 5
pages/cert/type/_id.vue

@@ -79,9 +79,6 @@ export default {
   computed: {
     conditions() {
       let conditions = this.detail.conditions
-      console.log(Object.keys(conditions).map(key => ({
-        [key]: conditions[key]
-      })))
       return Object.keys(conditions).map(key => conditions[key])
     },
     userinfo() {
@@ -92,8 +89,6 @@ export default {
     },
   },
   mounted() {
-    // let { isPC, isWeixin } = this.$store.state
-    // console.log({ isPC, isWeixin })
   },
   methods: {
     clickVipPrice() {

+ 0 - 2
pages/group/index.vue

@@ -81,7 +81,6 @@ export default {
     async getList() {
       let res = await this.$post(`/api/group/list`, { page: this.currentPage, page_size: this.pageSize })
       if(res) {
-        console.log(res)
         this.list = res.data.list
         this.pageTotal = res.data.total
       }
@@ -95,7 +94,6 @@ export default {
      */
     async getUserStatus() {
       let res = await this.$post(`/api/user/update_info`)
-      console.log(res)
     }
   }
 }

+ 0 - 2
plugins/http.js

@@ -81,8 +81,6 @@ const request = async (method, path, data, payload = {}) => {
 
 const consoleFormat = obj => {
   const key = Object.keys(obj)[0]
-  console.log(key + ':')
-  console.dir(obj[key])
 }
 
 Vue.prototype.$get = get