Browse Source

修改数据统计更新时间(2496)

zhangxc 5 years ago
parent
commit
984efd2fe3
1 changed files with 1 additions and 3 deletions
  1. 1 3
      src/components/medicalStatistics/MedicalStatistics.vue

+ 1 - 3
src/components/medicalStatistics/MedicalStatistics.vue

@@ -54,7 +54,7 @@ export default {
     data() {
         return {
            list: [],
-           updateTime: new Date()
+           updateTime: undefined
         }
     },
     created() {
@@ -86,7 +86,6 @@ export default {
                 
                 if(+res.data.code === 0) {
                     const data = res.data.data
-                    console.log('res', data)
                      this.list = []
                     for(let dataItem in data) {
                         if(data[dataItem].items) {
@@ -96,7 +95,6 @@ export default {
                         }
                         
                     }
-                    // console.log('data', data)
                     this.updateTime = data.gmtOperate
                 } else {
                     this.warning(res.data.msg)