Przeglądaj źródła

'改快手账户报表错误'

魏志佳 4 lat temu
rodzic
commit
9b469cdf75

+ 4 - 1
src/views/dashboard/Analysis.vue

@@ -406,7 +406,10 @@
             console.log(res)
             if(res.success){
                this.visible=res.showPopup;
-               this.versionId=res.data.id;
+               if(res.data.id){
+                 this.versionId=res.data.id;
+               }
+               
             }
            
         })

+ 7 - 7
src/views/modules/Statistics/KSAccountReport.vue

@@ -1284,13 +1284,13 @@ export default {
     },
   },
   mounted() {
-    // this.accountHttp()
-    // new Promise((resolve, reject) => {
-    //   this.getEchartData('sectionChart', this.sectionOption)
-    //   resolve()
-    // }).then(()=>{
-    //   this.myChart.clear()
-    // })
+    this.accountHttp()
+    new Promise((resolve, reject) => {
+      this.getEchartData('sectionChart', this.sectionOption)
+      resolve()
+    }).then(()=>{
+      this.myChart.clear()
+    })
     
     postAction('/toutiao/videoReportDaily/getColumnJson', {
       columnType: 2